[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2023-09-09 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

Katrin Fischer  changed:

   What|Removed |Added

   Keywords||Academy
   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=2

--- Comment #9 from Katrin Fischer  ---
We still have 17 occurrences of [%% in the po files for 23.05.

The solution we started to implement is to not use multi-line comments. We
start and end the comment on the same line. 

See: bug 2

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2022-10-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

Caroline Cyr La Rose  changed:

   What|Removed |Added

 CC||caroline.cyr-la-rose@inlibr
   ||o.com

--- Comment #8 from Caroline Cyr La Rose  ---
Still valid. I just came across one in marc-overlay-rules.tt

#. %1$s:  END 
#. %2$s:  UNLESS Koha.Preference( 'MARCOverlayRules' ) 
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt:58
#, c-format
msgid "%s %s [%% SET pref_MARCOverlayRules_link = '"
msgstr "%s %s [%% SET pref_MARCOverlayRules_link = '"

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2020-01-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

Katrin Fischer  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=18698

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2020-01-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

Katrin Fischer  changed:

   What|Removed |Added

 CC||katrin.fisc...@bsz-bw.de

--- Comment #7 from Katrin Fischer  ---
We still have some strange constructions in the po files, although it's not
that many. If you search for [%% you get 76 hits over all current translation
files:

", "dt_sortby": %s"Verfasser"%s"Jahr"%s"Signatur"%s"Titel"%s, "dt_created_on":
"%s", "dt_modification_time": "%s", "dt_action": "%s" }%s,%s %s ] } %s %s %s %s
[%%~ action_block = '

[%% SET countries = [ "Afghanistan", "Albanien", "Algerien", "Andorra",
"Angola", "Antigua & Barbuda", "Argentinien", "Armenien", "Australien",
"Österreich", "Aserbaidschan", "Bahamas", "Bahrain", "Bangladesch", "Barbados",
"Weißrussland", "Belgien", "Belize", "Benin", "Bhutan", "Bolivien", "Bosnien
Herzegowina", "Botswana", "Brasilien", "Brunei", "Bulgarien", "Burkina",
"Burundi", "Kambodscha", "Kamerun", "Kanada", "Cap Verde", "Zentralafrikanische
Republik", "Tschad", "Chile", "China", "Kolumbien", "Komoren", "Kongo", "Costa
Rica", "Kroatien", "Kuba", "Zypern", "Tschechische Republik", "Dänemark",
"Dschibuti", "Dominica", "Dominikanische Republik", "Osttimor", "Ecuador",
"Ägypten", "El Salvador", "Äquatorialguinea", "Eritrea", "Estland",
"Äthiopien", "Fidschi", "Finnland", "Frankreich", "Gabun", "Gambia",
"Georgien", "Deutschland", "Ghana", "Griechenland", "Grenada", "Guatemala",
"Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Honduras", "Ungarn", "Island",
"Indien", "Indonesien", "Iran", "Irak", "Irland", "Israel", "Italien",
"Elfenbeinküste", "Jamaika", "Japan", "Jordanien", "Kasachstan", "Kenia",
"Kiribati", "Nordkorea", "Südkorea", "Kosovo", "Kuwait", "Kirgisistan", "Laos",
"Lettland", "Libanon", "Lesotho", "Liberia", "Libyen", "Liechtenstein",
"Litauen", "Luxemburg", "Mazedonien", "Madagaskar", "Malawi", "Malaysia",
"Malediven", "Mali", "Malta", "Marshallinseln", "Mauretanien", "Mauritius",
"Mexiko", "Mikronesien", "Moldavien", "Monaco", "Mongolei", "Montenegro",
"Morokko", "Mosambik", "Myanmar", "Namibia", "Nauru", "Nepal", "Niederlande",
"Neuseeland", "Nicaragua", "Niger", "Nigeria", "Norwegen", "Oman", "Pakistan",
"Palau", "Panama", "Papua Neuguinea", "Paraguay", "Peru", "Philippinen",
"Polen", "Portugal", "Qatar", "Rumänien", "Russische Föderation", "Ruanda", "St
Kitts & Nevis", "St. Lucia", "St. Vincent", "Samoa", "San Marino", "São Tomé",
"Saudiarabien", "Senegal", "Serbien", "Seychellen", "Sierra Leone", "Singapur",
"Slowakei", "Slowenien", "Solomoninseln", "Somalia", "Südafrika", "Spanien",
"Sri Lanka", "Sudan", "Surinam", "Swasiland", "Schweden", "Schweiz", "Syrien",
"Taiwan", "Tadschikistan", "Tansania", "Thailand", "Togo", "Tonga", "Trinidad &
Tobago", "Tunesien", "Türkei", "Turkmenistan", "Tuvalu", "Uganda", "Ukraine",
"Vereinigte Arabische Emirate", "Vereinigtes Königreich", "Vereinigte Staaten
von Amerika", "Uruguay", "Usbekistan", "Vanuatu", "Vatikan", "Venezuela",
"Vietnam", "Jemen", "Sambia", "Simbabwe", ] %%]

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-09-20 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

Fridolin SOMERS  changed:

   What|Removed |Added

 CC||fridolin.som...@biblibre.co
   ||m

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-07-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

--- Comment #6 from Marc Véron  ---
(In reply to Jonathan Druart from comment #5)
> (In reply to Marc Véron from comment #4)
> > (In reply to Jonathan Druart from comment #3)
> > > No idea, did you try it?
> > 
> > I did try now - and no way, to much side effects.
> > 
> > I think we have to fix the line splitted TT directives.
> 
> Yes but there are lot of them and not so easy to fix IIRC :)

I mistaked in my first comment, if I do a search for [%% with exact match in
koha translate I get 24 occurences.
Examine them reveals some other translation issues anyway, see Bug 16871

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-07-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

Marc Véron  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=16871

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-07-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

--- Comment #5 from Jonathan Druart  
---
(In reply to Marc Véron from comment #4)
> (In reply to Jonathan Druart from comment #3)
> > No idea, did you try it?
> 
> I did try now - and no way, to much side effects.
> 
> I think we have to fix the line splitted TT directives.

Yes but there are lot of them and not so easy to fix IIRC :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-07-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

--- Comment #4 from Marc Véron  ---
(In reply to Jonathan Druart from comment #3)
> No idea, did you try it?

I did try now - and no way, to much side effects.

I think we have to fix the line splitted TT directives.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-07-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

Marc Véron  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=10492

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-06-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

--- Comment #3 from Jonathan Druart  
---
No idea, did you try it?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-06-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

--- Comment #2 from Marc Véron  ---
(In reply to Jonathan Druart from comment #1)
> It happens when TT directive are on several lines.
> I tried to fix C4::TTParser::text but failed.
> I don't know how to fix this one correctly.

Hi Jonathan,

C4/TTParser.pm, line 78 has following regex:
\[%.*?%]
. (dot) is (any character exept newline.

I evaluated some possipilities with http://regexr.com/

It seems that the following could work:
\[%[\s\S]*?%]

What do you think about?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 16559] [%% ... %%] should not be picked for translation

2016-05-22 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16559

Jonathan Druart  changed:

   What|Removed |Added

 CC||jonathan.dru...@bugs.koha-c
   ||ommunity.org

--- Comment #1 from Jonathan Druart  
---
It happens when TT directive are on several lines.
I tried to fix C4::TTParser::text but failed.
I don't know how to fix this one correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/