[gimp/libreajans/gimp-issue-2922] Issue #2922: Some sentences appear untranslated.



commit 8dfa34caf4ddc45f05cd1504440379c66f2fd953
Author: Sabri Unal <libreajans gmail com>
Date:   Sat Feb 9 13:22:03 2019 +0200

    Issue #2922: Some sentences appear untranslated.
    
    These sentences are always shown on the Search box.

 app/actions/tools-actions.c                   | 24 ++++++++++++------------
 app/actions/view-actions.c                    |  2 +-
 plug-ins/common/file-pdf-load.c               |  4 ++--
 plug-ins/common/file-pdf-save.c               |  6 +++---
 plug-ins/common/file-png.c                    |  4 ++--
 plug-ins/common/file-raw-data.c               |  4 ++--
 plug-ins/file-tiff/file-tiff.c                |  4 ++--
 plug-ins/script-fu/scripts/palette-export.scm | 10 +++++-----
 plug-ins/script-fu/scripts/unsharp-mask.scm   |  4 ++--
 9 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/app/actions/tools-actions.c b/app/actions/tools-actions.c
index dab98a48eb..f7eac2e5e9 100644
--- a/app/actions/tools-actions.c
+++ b/app/actions/tools-actions.c
@@ -576,23 +576,23 @@ static const GimpEnumActionEntry tools_force_actions[] =
 static const GimpEnumActionEntry tools_object_1_actions[] =
 {
   { "tools-object-1-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "Select Object 1 by Index", NULL, NULL,
+    NC_("tools-action", "Select Object 1 by Index"), NULL, NULL,
     GIMP_ACTION_SELECT_SET, TRUE,
     NULL },
   { "tools-object-1-first", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "First Object 1", NULL, NULL,
+    NC_("tools-action", "First Object 1"), NULL, NULL,
     GIMP_ACTION_SELECT_FIRST, FALSE,
     NULL },
   { "tools-object-1-last", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "Last Object 1", NULL, NULL,
+    NC_("tools-action", "Last Object 1"), NULL, NULL,
     GIMP_ACTION_SELECT_LAST, FALSE,
     NULL },
   { "tools-object-1-previous", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "Previous Object 1", NULL, NULL,
+    NC_("tools-action", "Previous Object 1"), NULL, NULL,
     GIMP_ACTION_SELECT_PREVIOUS, FALSE,
     NULL },
   { "tools-object-1-next", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "Next Object 1", NULL, NULL,
+    NC_("tools-action", "Next Object 1"), NULL, NULL,
     GIMP_ACTION_SELECT_NEXT, FALSE,
     NULL }
 };
@@ -600,23 +600,23 @@ static const GimpEnumActionEntry tools_object_1_actions[] =
 static const GimpEnumActionEntry tools_object_2_actions[] =
 {
   { "tools-object-2-set", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "Select Object 2 by Index", NULL, NULL,
+    NC_("tools-action", "Select Object 2 by Index"), NULL, NULL,
     GIMP_ACTION_SELECT_SET, TRUE,
     NULL },
   { "tools-object-2-first", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "First Object 2", NULL, NULL,
+    NC_("tools-action", "First Object 2"), NULL, NULL,
     GIMP_ACTION_SELECT_FIRST, FALSE,
     NULL },
   { "tools-object-2-last", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "Last Object 2", NULL, NULL,
+    NC_("tools-action", "Last Object 2"), NULL, NULL,
     GIMP_ACTION_SELECT_LAST, FALSE,
     NULL },
   { "tools-object-2-previous", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "Previous Object 2", NULL, NULL,
+    NC_("tools-action", "Previous Object 2"), NULL, NULL,
     GIMP_ACTION_SELECT_PREVIOUS, FALSE,
     NULL },
   { "tools-object-2-next", GIMP_ICON_DIALOG_TOOL_OPTIONS,
-    "Next Object 2", NULL, NULL,
+    NC_("tools-action", "Next Object 2"), NULL, NULL,
     GIMP_ACTION_SELECT_NEXT, FALSE,
     NULL }
 };
@@ -750,11 +750,11 @@ tools_actions_setup (GimpActionGroup *group)
                                       G_N_ELEMENTS (tools_force_actions),
                                       tools_force_cmd_callback);
 
-  gimp_action_group_add_enum_actions (group, NULL,
+  gimp_action_group_add_enum_actions (group, "tools-action",
                                       tools_object_1_actions,
                                       G_N_ELEMENTS (tools_object_1_actions),
                                       tools_object_1_cmd_callback);
-  gimp_action_group_add_enum_actions (group, NULL,
+  gimp_action_group_add_enum_actions (group, "tools-action",
                                       tools_object_2_actions,
                                       G_N_ELEMENTS (tools_object_2_actions),
                                       tools_object_2_cmd_callback);
diff --git a/app/actions/view-actions.c b/app/actions/view-actions.c
index 786a0e423c..669a5148f8 100644
--- a/app/actions/view-actions.c
+++ b/app/actions/view-actions.c
@@ -495,7 +495,7 @@ static const GimpToggleActionEntry view_flip_actions[] =
 static const GimpEnumActionEntry view_rotate_absolute_actions[] =
 {
   { "view-rotate-set-absolute", NULL,
-    "Display Rotation Absolute Angle Set", NULL, NULL,
+    NC_("view-action", "Display Rotation Absolute Angle Set"), NULL, NULL,
     GIMP_ACTION_SELECT_SET, TRUE,
     NULL },
 
diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c
index cfb13cb5b6..7d6af77a4f 100644
--- a/plug-ins/common/file-pdf-load.c
+++ b/plug-ins/common/file-pdf-load.c
@@ -307,7 +307,7 @@ query (void)
   };
 
   gimp_install_procedure (LOAD_PROC,
-                          "Load file in PDF format",
+                          _("Load file in PDF format"),
                           "Loads files in Adobe's Portable Document Format. "
                           "PDF is designed to be easily processed by a variety "
                           "of different platforms, and is a distant cousin of "
@@ -326,7 +326,7 @@ query (void)
                           load_args, load_return_vals);
 
   gimp_install_procedure (LOAD2_PROC,
-                          "Load file in PDF format",
+                          _("Load file in PDF format"),
                           "Loads files in Adobe's Portable Document Format. "
                           "PDF is designed to be easily processed by a variety "
                           "of different platforms, and is a distant cousin of "
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index 42c073d400..c85cb21ae6 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -339,7 +339,7 @@ query (void)
   };
 
   gimp_install_procedure (SAVE_PROC,
-                          "Save files in PDF format",
+                          _("Save files in PDF format"),
                           "Saves files in Adobe's Portable Document Format. "
                           "PDF is designed to be easily processed by a variety "
                           "of different platforms, and is a distant cousin of "
@@ -354,7 +354,7 @@ query (void)
                           save_args, NULL);
 
   gimp_install_procedure (SAVE2_PROC,
-                          "Save files in PDF format",
+                          _("Save files in PDF format"),
                           "Saves files in Adobe's Portable Document Format. "
                           "PDF is designed to be easily processed by a variety "
                           "of different platforms, and is a distant cousin of "
@@ -371,7 +371,7 @@ query (void)
                           save2_args, NULL);
 
   gimp_install_procedure (SAVE_MULTI_PROC,
-                          "Save files in PDF format",
+                          _("Save files in PDF format"),
                           "Saves files in Adobe's Portable Document Format. "
                           "PDF is designed to be easily processed by a variety "
                           "of different platforms, and is a distant cousin of "
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index c8fe712cb2..12ed7018f9 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -321,7 +321,7 @@ query (void)
                                     "png", "", "0,string,\211PNG\r\n\032\n");
 
   gimp_install_procedure (SAVE_PROC,
-                          "Exports files in PNG file format",
+                          _("Exports files in PNG file format"),
                           "This plug-in exports Portable Network Graphics "
                           "(PNG) files.",
                           "Michael Sweet <mike easysw com>, "
@@ -337,7 +337,7 @@ query (void)
                           save_args, NULL);
 
   gimp_install_procedure (SAVE2_PROC,
-                          "Exports files in PNG file format",
+                          _("Exports files in PNG file format"),
                           "This plug-in exports Portable Network Graphics "
                           "(PNG) files. "
                           "This procedure adds 2 extra parameters to "
diff --git a/plug-ins/common/file-raw-data.c b/plug-ins/common/file-raw-data.c
index b5bad3d8e1..13492b04e2 100644
--- a/plug-ins/common/file-raw-data.c
+++ b/plug-ins/common/file-raw-data.c
@@ -310,7 +310,7 @@ query (void)
   gimp_register_load_handler (LOAD_HGT_PROC, "hgt", "");
 
   gimp_install_procedure (SAVE_PROC,
-                          "Dump images to disk in raw format",
+                          _("Dump images to disk in raw format"),
                           "This plug-in dumps images to disk in raw format, "
                           "using the default settings stored as a parasite.",
                           "timecop, pg futureware at",
@@ -323,7 +323,7 @@ query (void)
                           save_args, NULL);
 
   gimp_install_procedure (SAVE_PROC2,
-                          "Dump images to disk in raw format",
+                          _("Dump images to disk in raw format"),
                           "Dump images to disk in raw format",
                           "Björn Kautler, Bjoern Kautler net",
                           "Björn Kautler, Bjoern Kautler net",
diff --git a/plug-ins/file-tiff/file-tiff.c b/plug-ins/file-tiff/file-tiff.c
index 595792bb4c..ced38df62d 100644
--- a/plug-ins/file-tiff/file-tiff.c
+++ b/plug-ins/file-tiff/file-tiff.c
@@ -151,7 +151,7 @@ query (void)
                                     "0,string,II*\\0,0,string,MM\\0*");
 
   gimp_install_procedure (SAVE_PROC,
-                          "saves files in the tiff file format",
+                          _("Saves files in the tiff file format"),
                           "Saves files in the Tagged Image File Format.  "
                           "The value for the saved comment is taken "
                           "from the 'gimp-comment' parasite.",
@@ -169,7 +169,7 @@ query (void)
   gimp_register_save_handler (SAVE_PROC, "tif,tiff", "");
 
   gimp_install_procedure (SAVE2_PROC,
-                          "saves files in the tiff file format",
+                          _("Saves files in the tiff file format"),
                           "Saves files in the Tagged Image File Format.  "
                           "The value for the saved comment is taken "
                           "from the 'gimp-comment' parasite.",
diff --git a/plug-ins/script-fu/scripts/palette-export.scm b/plug-ins/script-fu/scripts/palette-export.scm
index ecb16df7fe..328ad6e115 100644
--- a/plug-ins/script-fu/scripts/palette-export.scm
+++ b/plug-ins/script-fu/scripts/palette-export.scm
@@ -261,7 +261,7 @@
         )
     )
   )
-(register-palette-exporter "css" "_CSS stylesheet..." "css"
+(register-palette-exporter "css" _"_CSS stylesheet..." "css"
                            (string-append _"Export the active palette as a CSS stylesheet with the color 
entry name as their class name, and the color itself as the color attribute")
                            "Barak Itkin <lightningismyname gmail com>"
                           "Barak Itkin" "May 15th, 2009")
@@ -287,7 +287,7 @@
         )
     )
   )
-(register-palette-exporter "php" "P_HP dictionary..." "php"
+(register-palette-exporter "php" _"P_HP dictionary..." "php"
                            _"Export the active palette as a PHP dictionary (name => color)"
                            "Barak Itkin <lightningismyname gmail com>"
                           "Barak Itkin" "May 15th, 2009")
@@ -319,7 +319,7 @@
         )
     )
   )
-(register-palette-exporter "python" "_Python dictionary" "py"
+(register-palette-exporter "python" _"_Python dictionary" "py"
                            _"Export the active palette as a Python dictionary (name: color)"
                            "Barak Itkin <lightningismyname gmail com>"
                           "Barak Itkin" "May 15th, 2009")
@@ -348,7 +348,7 @@
         )
     )
   )
-(register-palette-exporter "text" "_Text file..." "txt"
+(register-palette-exporter "text" _"_Text file..." "txt"
                            _"Write all the colors in a palette to a text file, one hexadecimal value per 
line (no names)"
                            "Barak Itkin <lightningismyname gmail com>"
                           "Barak Itkin" "May 15th, 2009")
@@ -395,7 +395,7 @@
     )
   )
 
-(register-palette-exporter "java" "J_ava map..." "java"
+(register-palette-exporter "java" _"J_ava map..." "java"
                            _"Export the active palette as a java.util.Hashtable<String, Color>"
                            "Barak Itkin <lightningismyname gmail com>"
                           "Barak Itkin" "May 15th, 2009")
diff --git a/plug-ins/script-fu/scripts/unsharp-mask.scm b/plug-ins/script-fu/scripts/unsharp-mask.scm
index 77daf822cb..34d5fae3f1 100644
--- a/plug-ins/script-fu/scripts/unsharp-mask.scm
+++ b/plug-ins/script-fu/scripts/unsharp-mask.scm
@@ -71,8 +71,8 @@
 )
 
 (script-fu-register "script-fu-unsharp-mask"
-  "Unsharp Mask..."
-  "Make a new image from the current layer by applying the unsharp mask method"
+  _"Unsharp Mask..."
+  _"Make a new image from the current layer by applying the unsharp mask method"
   "Shuji Narazaki <narazaki gimp org>"
   "Shuji Narazaki"
   "1997,1998"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]