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 627105 - Mark default diff filenames for translation
Mark default diff filenames for translation
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: plugins: git
git master
Other Linux
: Normal normal
: ---
Assigned To: James Liggett
James Liggett
Depends on:
Blocks:
 
 
Reported: 2010-08-17 07:26 UTC by Gabor Kelemen
Modified: 2011-03-05 09:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple patch to mark strings for translation (1.62 KB, patch)
2010-08-17 07:26 UTC, Gabor Kelemen
none Details | Review
Fix similar to the previously committed (1.83 KB, patch)
2011-03-03 23:11 UTC, Gabor Kelemen
none Details | Review

Description Gabor Kelemen 2010-08-17 07:26:59 UTC
Created attachment 168032 [details] [review]
Simple patch to mark strings for translation

When viewing diffs using the git plugin, the diffs open in new text buffers with non-translatable default names. Attached patch fixes this.
Comment 1 Johannes Schmid 2010-08-17 12:48:42 UTC
Hmm, I kind of fear that not all unicode characters are valid as filename or is it safe to assume that?
Comment 2 Gabor Kelemen 2010-08-25 18:21:21 UTC
Um, so what? 
Probably translators can handle it, just as we do it for other modules: 

#. localizers: the initial name of a new folder
#: ../libnautilus-private/nautilus-file-operations.c:5757
msgid "untitled folder"
msgstr "névtelen mappa"

#: ../gedit/gedit-document.c:1071 ../gedit/gedit-document.c:1086
#, c-format
msgid "Unsaved Document %d"
msgstr "%d. mentetlen dokumentum"

#. default filename used for print-to-file
#: ../modules/printbackends/file/gtkprintbackendfile.c:250
#, c-format
msgid "output.%s"
msgstr "kimenet.%s"

See? Gnome is full with such things :).
Comment 3 Johannes Schmid 2010-11-04 09:35:39 UTC
Ok, thanks! Sorry for the delay but I didn't want to break string-freeze because of this and was a bit busy with gtk+-3.0 porting.
Comment 4 Gabor Kelemen 2011-03-03 23:09:33 UTC
Reopening.
Seems like the functionality was refactored into another file, but without this change.
Comment 5 Gabor Kelemen 2011-03-03 23:11:20 UTC
Created attachment 182418 [details] [review]
Fix similar to the previously committed

The file is already listed in POTFILES.in, otherwise the same as the previous patch.
Comment 6 Johannes Schmid 2011-03-05 09:03:48 UTC
Thanks and sorry that this slipped through again but it is sometimes difficult to keep track of everything when merging branches.