Bug 722447

Summary: Mixture of singular/plural in sentences in s390.pot file makes translation very difficult in some language
Product: [openSUSE] openSUSE 12.1 Reporter: Andrea Turrini <andrea.turrini>
Component: YaST2Assignee: Tim Hardeck <thardeck>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aschnell
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andrea Turrini 2011-10-06 08:25:41 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

The file s390.pot contains the following sentences that present a mixture of singular/plural forms that makes almost impossible to have a good translation of such sentences.

Such strings are:

#. warn only in case of force
#: src/dump/ui.ycp:127
#, ycp-format
msgid "The disk[s] %1 will be formatted as a dump device. All data on this device[s] will be lost! Continue?"

(note that "this" is incompatible with "devices")

#: src/modules/Dump.ycp:83
msgid "Creating Dump Device[s]"

#. Progress stage 1/1
#: src/modules/Dump.ycp:88
msgid "Creating dump device[s]"

#. Progress step 1/1
#: src/modules/Dump.ycp:91
msgid "Creating dump device[s]. This process might take some minutes."

#: src/onpanic/ui.ycp:91
msgid "<p><b>Configure the action[s] to be taken if a kernel panic occurs</b></p>"

Use instead different sentences for singular and plural form, so translations can be accurate.


NOTE: the issue in this bug does not require the attachment of y2logs since the problem is evident and fully characterized by provided details.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Arvin Schnell 2011-10-06 08:48:16 UTC
Tim, YCP supports plural forms in translations. You can see an example in the
function CheckNumberOfDevicesForRaid in the file ep-raid-dialogs.ycp.
Comment 2 Tim Hardeck 2011-10-10 14:32:34 UTC
Thanks for the information.

I have committed a fix to the Yast svn and it should be tomorrow available in the opensuse-i18n svn.