← Back to team overview

ubuntu-translations-coordinators team mailing list archive

[Bug 1350921] [NEW] Developer mode translations are cut off

 

Public bug reported:

Some translatable strings in the Developer Mode page are cut off and
only part of the string is exposed in Launchpad for translation.

I believe this is due to how the strings in the code are broken up to
fit into a given horizontal column count. E.g. [1]:

    text: i18n.tr("In Developer Mode, anyone can access, " +
                  "change or delete anything on this " +
                  "phone by connecting it to " +
                  "another device.")

This results in only the first line of the string to be extracted and
put into the .pot file [2]

[1] http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/about/DevMode.qml#L68
[2] https://translations.launchpad.net/ubuntu-system-settings/trunk/+pots/ubuntu-system-settings/ast/98/+translate

** Affects: ubuntu-translations
     Importance: Low
         Status: Triaged

** Affects: ubuntu-system-settings (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bitesize touch

** Also affects: ubuntu-system-settings (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-translations
       Status: New => Triaged

** Description changed:

  Some translatable strings in the Developer Mode page are cut off and
  only part of the string is exposed in Launchpad for translation.
  
- This is due to how the strings in the code are broken up to fit into a
- given horizontal column count. E.g. [1]:
+ I believe this is due to how the strings in the code are broken up to
+ fit into a given horizontal column count. E.g. [1]:
  
-                         text: i18n.tr("In Developer Mode, anyone can access, " +
-                                        "change or delete anything on this " +
-                                        "phone by connecting it to " +
-                                        "another device.")
-                     }
+     text: i18n.tr("In Developer Mode, anyone can access, " +
+                   "change or delete anything on this " +
+                   "phone by connecting it to " +
+                   "another device.")
  
  This results in only the first line of the string to be extracted and
  put into the .pot file [2]
  
  [1] http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/about/DevMode.qml#L68
  [2] https://translations.launchpad.net/ubuntu-system-settings/trunk/+pots/ubuntu-system-settings/ast/98/+translate

** Tags added: bitesize touch

** Changed in: ubuntu-translations
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Translations Coordinators, which is subscribed to Ubuntu Translations.
Matching subscriptions: Ubuntu Translations bug mail
https://bugs.launchpad.net/bugs/1350921

Title:
  Developer mode translations are cut off

Status in Ubuntu Translations:
  Triaged
Status in “ubuntu-system-settings” package in Ubuntu:
  New

Bug description:
  Some translatable strings in the Developer Mode page are cut off and
  only part of the string is exposed in Launchpad for translation.

  I believe this is due to how the strings in the code are broken up to
  fit into a given horizontal column count. E.g. [1]:

      text: i18n.tr("In Developer Mode, anyone can access, " +
                    "change or delete anything on this " +
                    "phone by connecting it to " +
                    "another device.")

  This results in only the first line of the string to be extracted and
  put into the .pot file [2]

  [1] http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/view/head:/plugins/about/DevMode.qml#L68
  [2] https://translations.launchpad.net/ubuntu-system-settings/trunk/+pots/ubuntu-system-settings/ast/98/+translate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/1350921/+subscriptions


Follow ups

References