After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726894 - "2" string marked for translation
"2" string marked for translation
Status: RESOLVED FIXED
Product: swell-foop
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: swell-foop-maint
swell-foop-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-22 20:05 UTC by Peter Mráz
Modified: 2014-03-23 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
colors-spinner text should be untranslatable (1.10 KB, patch)
2014-03-23 14:35 UTC, Michael Catanzaro
committed Details | Review

Description Peter Mráz 2014-03-22 20:05:11 UTC
please add comment for translators

#: ../data/preferences.ui.h:4
msgid "2"
Comment 1 Michael Catanzaro 2014-03-22 22:32:49 UTC
Hm, that property is not marked for translation, nor should it be.  I have no idea why it's showing up in the po file.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Sun Dec  8 10:47:18 2013 -->
<interface>
  <!-- interface-requires gtk+ 3.0 -->
  <object class="GtkAdjustment" id="color-adjustment">
    <property name="lower">2</property>
    <property name="upper">4</property>
    <property name="step_increment">1</property>
  </object>
  <object class="GtkAdjustment" id="columns-adjustment">
    <property name="lower">3</property>
    <property name="upper">21</property>
    <property name="step_increment">1</property>
  </object>

Note that only 2 shows up in the po file. Worth noting that it's the first property in the file.

I also have no idea which product to assign this bug to. I18N watchers, any ideas?  intltool? GTK+?
Comment 2 André Klapper 2014-03-22 23:16:07 UTC
(In reply to comment #1)
> Hm, that property is not marked for translation

It is under <object class="GtkSpinButton" id="colors-spinner">:

<property name="text" translatable="yes">2</property>
Comment 3 Michael Catanzaro 2014-03-23 14:32:32 UTC
Ah, thanks Andre. So the line numbers are fake -- I guess there's a secret intermediate C header? -- and it just so happens that there was a property with value 2 on the real line 4.

Anyway, that should definitely not be translatable. Thanks for reporting!
Comment 4 Michael Catanzaro 2014-03-23 14:35:07 UTC
The following fix has been pushed:
9242086 colors-spinner text should be untranslatable
Comment 5 Michael Catanzaro 2014-03-23 14:35:10 UTC
Created attachment 272686 [details] [review]
colors-spinner text should be untranslatable