[translation] bug #132

Bug #1215712 reported by londumas
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-system-settings
Fix Released
Low
Iain Lane
ubuntu-system-settings (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In #132 string, when translating in French "1 minute" by "1 minute" and "%1 minutes" by "%1 minutes" the following error pops up : "a format specification for argument 1 doesn't exist in 'msgstr[0]'"

There must be a problem because I think the French translation is right.

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, where do you see that error? What are you doing exactly?

Revision history for this message
londumas (helion331990) wrote :

I am sorry @seb128 but I don't see how I can be more clear. The error is in my first post. I can't translate these two strings because of this issue. Maybe it is not an issue and then you can explain to me what I am doing wrong.

Revision history for this message
Jiri Grönroos (jiri-gronroos) wrote :

This happens when one tries to translate http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/security-privacy/PageComponent.qml#L66 using Launchpad/Rosetta.

In .po file the strings are presented as

#: ../plugins/security-privacy/PageComponent.qml:65
#: ../plugins/security-privacy/PhoneLocking.qml:42
#, qt-format
msgid "1 minute"
msgid_plural "%1 minutes"
msgstr[0] ""
msgstr[1] ""

Maybe providing the singular form, msgid, as "%1 minute" would work.

Please see

http://pology.nedohodnik.net/doc/user/en_US/ch-poformat.html 2.4.1, ctrl+f "but not in pure Qt programs (qt-format)"

Revision history for this message
Jiri Grönroos (jiri-gronroos) wrote :
Revision history for this message
Tiago Hillebrandt (tiagohillebrandt) wrote :

I can confirm the problem when I try to translate it also for Brazilian Portuguese.

Changed in ubuntu-system-settings:
status: New → Confirmed
Changed in ubuntu-system-settings:
assignee: nobody → Iain Lane (laney)
importance: Undecided → Low
status: Confirmed → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-system-settings at revision 409, scheduled for release in ubuntu-system-settings, milestone Unknown

Changed in ubuntu-system-settings:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.1+13.10.20131002-0ubuntu1

---------------
ubuntu-system-settings (0.1+13.10.20131002-0ubuntu1) saucy; urgency=low

  [ Sebastien Bacher ]
  * click: the installed-size info is in kib, not in bytes.

  [ Iain Lane ]
  * Use the indicator's value for the charge level instead of
    calculating it from QtSystems derived information.
  * [battery] Update the UI dynamically when the wireless state changes.
  * Various translation tweaks as noted in LP: #1233214. (LP: #1215712,
    #1233214)
  * [battery] Bind the onClicked handlers instead of checked to avoid
    loops when enabling/disabling wifi.
  * Remove one more missed translation.
  * Bump required version of ubuntu-keyboard-data, as we require the
    schemas for the language panel.
  * Remove the SettingsCheckEntry now that the design issues are
    resolved.

  [ Ted Gould ]
  * Adding a %u to the desktop file Exec line.

  [ William Hua ]
  * Hook up language panel to some maliit settings.

  [ Didier Roche ]
  * Use some async calls for system update where we don't expect any
    returned value.
  * Add an indeterminate progress bar until system image answers.

  [ Charles Kerr ]
  * Show an ActivityIndicator to tell users when discovery mode is on to
    search for new bluetooth devices.
  * add PIN code pairing. Implementation is similar to the existing
    passkey pairing.

  [ Ken VanDine ]
  * revert the previous revert done in rev 391, Bug (#LP: #1231368) was
    caused by gallery-app needing a rebuild for content-hub changes. .
    (LP: #1231368)

  [ Alberto Mardegan ]
  * Parse URLs given in command line. (LP: #1227690)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 419
 -- Ubuntu daily release <email address hidden> Wed, 02 Oct 2013 04:09:15 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: New → Fix Released
Changed in ubuntu-system-settings:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.