Bug 17245: Untranslatable abbreviated names of seasons.
Because seasons strings are not available through DateTime module, names of them where added in code, and templates. Bug 16289 adds new abbreviated form to the code, but not to the templates. This patch should fix the problem. To test: 1. Apply patch. 2. Run "misc/translator/translate update" for you language. 3. Check if names are in po/ file for language. 4. Check if generating next issue for serial and prediction patterns works correct. NOTE: or "create {language code}" instead of update. Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
756c0f9318
commit
4da3bf5e48
2 changed files with 16 additions and 0 deletions
|
@ -275,6 +275,14 @@ $(document).ready(function() {
|
|||
[% matches.0 %]Fall[% matches.1 %]
|
||||
[% ELSIF ( matches = serial.serialseq.match('(.*)Winter(.*)') ) %]
|
||||
[% matches.0 %]Winter[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %]
|
||||
[% matches.0 %]Spr[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %]
|
||||
[% matches.0 %]Sum[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %]
|
||||
[% matches.0 %]Fal[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %]
|
||||
[% matches.0 %]Win[% matches.1 %]
|
||||
[% ELSE %]
|
||||
[% serial.serialseq %]
|
||||
[% END %]
|
||||
|
|
|
@ -70,6 +70,14 @@
|
|||
[% matches.0 %]Fall[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Winter(.*)') ) %]
|
||||
[% matches.0 %]Winter[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Spr(.*)') ) %]
|
||||
[% matches.0 %]Spr[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Sum(.*)') ) %]
|
||||
[% matches.0 %]Sum[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Fal(.*)') ) %]
|
||||
[% matches.0 %]Fal[% matches.1 %]
|
||||
[% ELSIF ( matches = prediction.number.match('(.*)Win(.*)') ) %]
|
||||
[% matches.0 %]Win[% matches.1 %]
|
||||
[% ELSE %]
|
||||
[% prediction.number %]
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue