merged branch umpirsky/serbian-translation-update (PR #3167)

Commits
-------

f6b3ea2 New validation messages and translated to Serbian language.

Discussion
----------

New validation messages and translated to Serbian language.

It would be nice for translators to be notified somehow when new validation messages appear. I copied those from French translation, not sure if that is the right way to go?

Also, in addition, I would like to contribute sr@latin translation. To explain, Serbian language have dual alphabet, both cyrillic and latin. I'm not sure if Symfony locale supports locale variants? Can you suggest right translation file name for this?

---------------------------------------------------------------------------

by stof at 2012-01-21T19:20:31Z

Please send the ids up to 41 to the 2.0 branch. Only 42 and above are new in 2.1

---------------------------------------------------------------------------

by stof at 2012-01-21T19:23:48Z

Regarding serbian latin translations, there is an issue here: both cyrillic and latin serbian share the same locale id ``sr_SP``

---------------------------------------------------------------------------

by stof at 2012-01-21T19:33:01Z

ok, looking a bit more about it, it seems like the right way to handle this is to use ``sr_Latn`` and ``sr_Cyrl`` for the 2 variants

---------------------------------------------------------------------------

by umpirsky at 2012-01-21T20:28:37Z

But ids 42 and above can be merged to master (2.1), right?

I think they share `sr_RS`, not `sr_SP` as you said.

So, `validators.sr.xlf` should be renamed to `validators.sr_Cyrl.xlf` and for latig added `validators.sr_Latn.xlf`?

---------------------------------------------------------------------------

by stof at 2012-01-21T21:00:18Z

yeah, but previous ids should be merged in 2.0 first to avoid merge conflicts later

---------------------------------------------------------------------------

by umpirsky at 2012-01-21T22:37:15Z

Done https://github.com/symfony/symfony/pull/3168
This commit is contained in:
Fabien Potencier 2012-01-22 07:34:36 +01:00
commit 2c962419dc

View File

@ -166,6 +166,34 @@
<source>This value is already used</source>
<target>Вредност је већ искоришћена</target>
</trans-unit>
<trans-unit id="42">
<source>The size of the image could not be detected</source>
<target>Величина слике не може бити одређена</target>
</trans-unit>
<trans-unit id="43">
<source>The image width is too big ({{ width }}px). Allowed maximum width is {{ max_width }}px</source>
<target>Ширина слике је превелика ({{ width }}px). Најећа дозвољена ширина је {{ max_width }}px</target>
</trans-unit>
<trans-unit id="44">
<source>The image width is too small ({{ width }}px). Minimum width expected is {{ min_width }}px</source>
<target>Ширина слике је премала ({{ width }}px). Најмања дозвољена ширина је {{ min_width }}px</target>
</trans-unit>
<trans-unit id="45">
<source>The image height is too big ({{ height }}px). Allowed maximum height is {{ max_height }}px</source>
<target>Висина слике је превелика ({{ height }}px). Најећа дозвољена висина је {{ max_height }}px</target>
</trans-unit>
<trans-unit id="46">
<source>The image height is too small ({{ height }}px). Minimum height expected is {{ min_height }}px</source>
<target>Висина слике је премала ({{ height }}px). Најмања дозвољена висина је {{ min_height }}px</target>
</trans-unit>
<trans-unit id="47">
<source>This value should be the user current password</source>
<target>Вредност треба да буде тренутна корисничка лозинка</target>
</trans-unit>
<trans-unit id="48">
<source>This value should have exactly {{ limit }} characters</source>
<target>Вредност треба да има тачно {{ limit }} карактера</target>
</trans-unit>
</body>
</file>
</xliff>