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 761995 - Disambiguate string
Disambiguate string
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2016-02-13 14:03 UTC by Dušan
Modified: 2016-02-21 13:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dušan 2016-02-13 14:03:49 UTC
Please disambiguate this string - Add translation contexts

#: ../data/ui/context-menu.ui.h:4 ../src/osmEditDialog.js:167
#| msgid "OpenStreetMap Account"



Dev wiki: https://wiki.gnome.org/TranslationProject/DevGuidelines/Translation%20contexts
Comment 1 Jonas Danielsson 2016-02-13 17:00:45 UTC
Hi Dušan!

Sorry, I am not that experienced with translations. Which string need context? All OpenStreetMap strings or just the string "OpenStreetMap Account" ?

$ git grep "OpenStreetMap Account" | grep -v po
data/ui/app-menu.ui:        <attribute name="label" translatable="yes">Set up OpenStreetMap Account</attribute>
data/ui/osm-account-dialog.ui:    <property name="title" translatable="yes">OpenStreetMap Account</property>

What context would help?

Something like:

<property name="title" translatable="yes" context="An account on openstreetmap.org">OpenStreetMap Account</property>
Comment 2 Dušan 2016-02-14 06:38:02 UTC
Sorry. I ment this string:

#: ../data/ui/context-menu.ui.h:4 ../src/osmEditDialog.js:202 msgid "Add to OpenStreetMap"

I just need to split it to two translatable strings. Because one is used for menu item and second for header title. We dont translate it in same way.
Comment 3 Marcus Lundblad 2016-02-21 13:20:05 UTC
(In reply to Dušan from comment #2)
> Sorry. I ment this string:
> 
> #: ../data/ui/context-menu.ui.h:4 ../src/osmEditDialog.js:202 msgid "Add to
> OpenStreetMap"
> 
> I just need to split it to two translatable strings. Because one is used for
> menu item and second for header title. We dont translate it in same way.

This has already been fixed, I think?