Skip to content
Permalink
Browse files

Ensure proper translation of the about dialog title

Note that GTK+ sets a default title of _("About %s") on the dialog
window (where %s is replaced by the name of the application, but
in order to ensure proper translation of the title, applications
should set the title property explicitly when constructing a
GtkAboutDialog

https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
  • Loading branch information...
rbuj authored and raveit65 committed Feb 16, 2019
1 parent 65aaac0 commit f5e08dd157d6a092fe6c779b9212343928dc743d
Showing with 59 additions and 54 deletions.
  1. +58 −54 caja.pot
  2. +1 −0 src/caja-window-menus.c
112 caja.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: MATE Desktop Environment\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-02-06 21:24+0800\n"
"POT-Creation-Date: 2019-02-16 22:36+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -309,7 +309,7 @@ msgstr ""
#. Set initial window title
#: ../data/caja-browser.desktop.in.h:1 ../data/caja.desktop.in.h:1
#: ../data/caja-folder-handler.desktop.in.h:1 ../src/caja-spatial-window.c:396
#: ../src/caja-window-menus.c:580 ../src/caja-window.c:164
#: ../src/caja-window-menus.c:636 ../src/caja-window.c:164
msgid "Caja"
msgstr ""

@@ -327,7 +327,7 @@ msgid "Computer"
msgstr ""

#. tooltip
#: ../data/caja-computer.desktop.in.h:2 ../src/caja-window-menus.c:942
#: ../data/caja-computer.desktop.in.h:2 ../src/caja-window-menus.c:999
msgid ""
"Browse all local and remote disks and folders accessible from this computer"
msgstr ""
@@ -355,7 +355,7 @@ msgstr ""

#. tooltip
#: ../data/caja-home.desktop.in.h:2 ../src/caja-places-sidebar.c:523
#: ../src/caja-window-menus.c:937
#: ../src/caja-window-menus.c:994
msgid "Open your personal folder"
msgstr ""

@@ -3777,7 +3777,7 @@ msgstr ""
#: ../src/caja-emblem-sidebar.c:298 ../src/caja-emblem-sidebar.c:555
#: ../src/caja-file-management-properties.ui.h:42
#: ../src/caja-location-dialog.c:189 ../src/caja-property-browser.c:386
#: ../src/caja-window-menus.c:854
#: ../src/caja-window-menus.c:911
msgid "_Help"
msgstr ""

@@ -4426,7 +4426,7 @@ msgstr ""
#: ../src/file-manager/fm-directory-view.c:8383
#: ../src/file-manager/fm-directory-view.c:8493
#: ../src/caja-places-sidebar.c:1805 ../src/caja-places-sidebar.c:2763
#: ../src/caja-window-menus.c:881
#: ../src/caja-window-menus.c:938
msgid "_Stop"
msgstr ""

@@ -4605,7 +4605,7 @@ msgstr ""
#. name, icon name
#. label, accelerator
#: ../src/file-manager/fm-directory-view.c:7610
#: ../src/file-manager/fm-directory-view.c:7614 ../src/caja-window-menus.c:936
#: ../src/file-manager/fm-directory-view.c:7614 ../src/caja-window-menus.c:993
msgid "_Home Folder"
msgstr ""

@@ -5342,7 +5342,7 @@ msgstr ""
#: ../src/file-manager/fm-properties-window.c:5188
#: ../src/caja-bookmarks-window.ui.h:5
#: ../src/caja-file-management-properties.ui.h:43
#: ../src/caja-property-browser.c:394 ../src/caja-window-menus.c:856
#: ../src/caja-property-browser.c:394 ../src/caja-window-menus.c:913
msgid "_Close"
msgstr ""

@@ -5838,7 +5838,7 @@ msgstr ""

#: ../src/caja-bookmarks-window.c:159
#: ../src/caja-file-management-properties.c:246
#: ../src/caja-property-browser.c:1676 ../src/caja-window-menus.c:635
#: ../src/caja-property-browser.c:1676 ../src/caja-window-menus.c:692
#, c-format
msgid ""
"There was an error displaying help: \n"
@@ -7527,35 +7527,39 @@ msgstr ""
msgid "Go to the location specified by this bookmark"
msgstr ""

#: ../src/caja-window-menus.c:562
#: ../src/caja-window-menus.c:618
msgid ""
"Caja is free software; you can redistribute it and/or modify it under the "
"terms of the GNU General Public License as published by the Free Software "
"Foundation; either version 2 of the License, or (at your option) any later "
"version."
msgstr ""

#: ../src/caja-window-menus.c:566
#: ../src/caja-window-menus.c:622
msgid ""
"Caja is distributed in the hope that it will be useful, but WITHOUT ANY "
"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS "
"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more "
"details."
msgstr ""

#: ../src/caja-window-menus.c:570
#: ../src/caja-window-menus.c:626
msgid ""
"You should have received a copy of the GNU General Public License along with "
"Caja; if not, write to the Free Software Foundation, Inc., 51 Franklin "
"Street, Fifth Floor, Boston, MA 02110-1301 USA"
msgstr ""

#: ../src/caja-window-menus.c:582
#: ../src/caja-window-menus.c:637
msgid "About Caja"
msgstr ""

#: ../src/caja-window-menus.c:639
msgid ""
"Caja lets you organize files and folders, both on your computer and online."
msgstr ""

#: ../src/caja-window-menus.c:585
#: ../src/caja-window-menus.c:642
msgid ""
"Copyright © 1999-2009 The Nautilus authors\n"
"Copyright © 2011-2019 The Caja authors"
@@ -7565,212 +7569,212 @@ msgstr ""
#. * which will be displayed at the bottom of the about
#. * box to give credit to the translator(s).
#.
#: ../src/caja-window-menus.c:595
#: ../src/caja-window-menus.c:652
msgid "translator-credits"
msgstr ""

#: ../src/caja-window-menus.c:598
#: ../src/caja-window-menus.c:655
msgid "MATE Web Site"
msgstr ""

#. name, icon name, label
#: ../src/caja-window-menus.c:851
#: ../src/caja-window-menus.c:908
msgid "_File"
msgstr ""

#. name, icon name, label
#: ../src/caja-window-menus.c:852
#: ../src/caja-window-menus.c:909
msgid "_Edit"
msgstr ""

#. name, icon name, label
#: ../src/caja-window-menus.c:853
#: ../src/caja-window-menus.c:910
msgid "_View"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:857
#: ../src/caja-window-menus.c:914
msgid "Close this folder"
msgstr ""

#: ../src/caja-window-menus.c:862
#: ../src/caja-window-menus.c:919
msgid "_Backgrounds and Emblems..."
msgstr ""

#: ../src/caja-window-menus.c:863
#: ../src/caja-window-menus.c:920
msgid ""
"Display patterns, colors, and emblems that can be used to customize "
"appearance"
msgstr ""

#: ../src/caja-window-menus.c:868
#: ../src/caja-window-menus.c:925
msgid "Prefere_nces"
msgstr ""

#: ../src/caja-window-menus.c:869
#: ../src/caja-window-menus.c:926
msgid "Edit Caja preferences"
msgstr ""

#. name, icon name, label
#: ../src/caja-window-menus.c:872
#: ../src/caja-window-menus.c:929
msgid "Open _Parent"
msgstr ""

#: ../src/caja-window-menus.c:873
#: ../src/caja-window-menus.c:930
msgid "Open the parent folder"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:882
#: ../src/caja-window-menus.c:939
msgid "Stop loading the current location"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:886
#: ../src/caja-window-menus.c:943
msgid "_Reload"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:887
#: ../src/caja-window-menus.c:944
msgid "Reload the current location"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:891
#: ../src/caja-window-menus.c:948
msgid "_Contents"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:892
#: ../src/caja-window-menus.c:949
msgid "Display Caja help"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:896
#: ../src/caja-window-menus.c:953
msgid "_About"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:897
#: ../src/caja-window-menus.c:954
msgid "Display credits for the creators of Caja"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:901
#: ../src/caja-window-menus.c:958
msgid "Zoom _In"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:902 ../src/caja-zoom-control.c:96
#: ../src/caja-window-menus.c:959 ../src/caja-zoom-control.c:96
#: ../src/caja-zoom-control.c:309
msgid "Increase the view size"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:916
#: ../src/caja-window-menus.c:973
msgid "Zoom _Out"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:917 ../src/caja-zoom-control.c:97
#: ../src/caja-window-menus.c:974 ../src/caja-zoom-control.c:97
#: ../src/caja-zoom-control.c:254
msgid "Decrease the view size"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:926
#: ../src/caja-window-menus.c:983
msgid "Normal Si_ze"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:927 ../src/caja-zoom-control.c:98
#: ../src/caja-window-menus.c:984 ../src/caja-zoom-control.c:98
#: ../src/caja-zoom-control.c:270
msgid "Use the normal view size"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:931
#: ../src/caja-window-menus.c:988
msgid "Connect to _Server..."
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:932
#: ../src/caja-window-menus.c:989
msgid "Connect to a remote computer or shared disk"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:941
#: ../src/caja-window-menus.c:998
msgid "_Computer"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:946
#: ../src/caja-window-menus.c:1003
msgid "_Network"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:947 ../src/mate-network-scheme.desktop.in.h:2
#: ../src/caja-window-menus.c:1004 ../src/mate-network-scheme.desktop.in.h:2
msgid "Browse bookmarked and local network locations"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:951
#: ../src/caja-window-menus.c:1008
msgid "T_emplates"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:952
#: ../src/caja-window-menus.c:1009
msgid "Open your personal templates folder"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:956
#: ../src/caja-window-menus.c:1013
msgid "_Trash"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:957
#: ../src/caja-window-menus.c:1014
msgid "Open your personal trash folder"
msgstr ""

#. name, icon name
#. label, accelerator
#: ../src/caja-window-menus.c:965
#: ../src/caja-window-menus.c:1022
msgid "Show _Hidden Files"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:966
#: ../src/caja-window-menus.c:1023
msgid "Toggle the display of hidden files in the current window"
msgstr ""

#. name, stock id
#. label, accelerator
#: ../src/caja-window-menus.c:971
#: ../src/caja-window-menus.c:1028
msgid "Show Bac_kup Files"
msgstr ""

#. tooltip
#: ../src/caja-window-menus.c:972
#: ../src/caja-window-menus.c:1029
msgid "Toggle the display of backup files in the current window"
msgstr ""

#: ../src/caja-window-menus.c:1004
#: ../src/caja-window-menus.c:1061
msgid "_Up"
msgstr ""

#: ../src/caja-window-menus.c:1007
#: ../src/caja-window-menus.c:1064
msgid "_Home"
msgstr ""

@@ -634,6 +634,7 @@ action_about_caja_callback (GtkAction *action,

gtk_show_about_dialog (GTK_WINDOW (user_data),
"program-name", _("Caja"),
"title", _("About Caja"),
"version", VERSION,
"comments", _("Caja lets you organize "
"files and folders, both on "

0 comments on commit f5e08dd

Please sign in to comment.
You can’t perform that action at this time.