[gnome-builder] Small improvements to translatable strings



commit 1d2abdc97d27ab9cf08959241173b310ea7a4e6e
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Feb 7 17:00:46 2016 +0100

    Small improvements to translatable strings

 libide/ide-application-command-line.c            |    4 ++--
 libide/ide-uri.c                                 |    2 +-
 libide/preferences/ide-preferences-builtin.c     |    4 ++--
 plugins/build-tools/gbp-build-tool.c             |    2 +-
 plugins/create-project/gbp-create-project-tool.c |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libide/ide-application-command-line.c b/libide/ide-application-command-line.c
index e5442cf..16d237e 100644
--- a/libide/ide-application-command-line.c
+++ b/libide/ide-application-command-line.c
@@ -195,7 +195,7 @@ ide_application_local_command_line (GApplication   *application,
       G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_IN_MAIN,
       G_OPTION_ARG_CALLBACK,
       ide_application_increase_verbosity,
-      N_("Increase verbosity, may specify multiple times") },
+      N_("Increase verbosity, may be specified multiple times") },
 
     { NULL }
   };
@@ -343,7 +343,7 @@ ide_application_local_command_line (GApplication   *application,
 
       if (dbus_address== NULL)
         {
-          g_printerr ("%s\n", _("Please provide a dbus address"));
+          g_printerr ("%s\n", _("Please provide a D-Bus address"));
           *exit_status = EXIT_FAILURE;
           goto cleanup;
         }
diff --git a/libide/ide-uri.c b/libide/ide-uri.c
index 7bc8a2a..9ae8f72 100644
--- a/libide/ide-uri.c
+++ b/libide/ide-uri.c
@@ -216,7 +216,7 @@ uri_decoder (const gchar       *part,
       if (flags & IDE_URI_PARSE_UTF8_ONLY)
         {
           g_set_error_literal (error, IDE_URI_ERROR, parse_error,
-                               _("Non-UTF8 characters in URI"));
+                               _("Non-UTF-8 characters in URI"));
           g_free (decoded);
           return FALSE;
         }
diff --git a/libide/preferences/ide-preferences-builtin.c b/libide/preferences/ide-preferences-builtin.c
index 0d3e21d..1082170 100644
--- a/libide/preferences/ide-preferences-builtin.c
+++ b/libide/preferences/ide-preferences-builtin.c
@@ -110,7 +110,7 @@ ide_preferences_builtin_register_keyboard (IdePreferences *preferences)
   ide_preferences_add_page (preferences, "keyboard", _("Keyboard"), 400);
 
   ide_preferences_add_list_group (preferences, "keyboard", "mode", _("Emulation"), 0);
-  ide_preferences_add_radio (preferences, "keyboard", "mode", "org.gnome.builder.editor", "keybindings", 
NULL, "\"default\"", _("Builder"), _("Default keybinding mode which mimics Gedit"), NULL, 0);
+  ide_preferences_add_radio (preferences, "keyboard", "mode", "org.gnome.builder.editor", "keybindings", 
NULL, "\"default\"", _("Builder"), _("Default keybinding mode which mimics gedit"), NULL, 0);
   ide_preferences_add_radio (preferences, "keyboard", "mode", "org.gnome.builder.editor", "keybindings", 
NULL, "\"emacs\"", _("Emacs"), _("Emulates the Emacs text editor"), NULL, 0);
   ide_preferences_add_radio (preferences, "keyboard", "mode", "org.gnome.builder.editor", "keybindings", 
NULL, "\"vim\"", _("Vim"), _("Emulates the Vim text editor"), NULL, 0);
 
@@ -224,7 +224,7 @@ ide_preferences_builtin_register_languages (IdePreferences *preferences)
   ide_preferences_add_page (preferences, "languages.id", NULL, 0);
 
   ide_preferences_add_list_group (preferences, "languages.id", "basic", NULL, 0);
-  ide_preferences_add_switch (preferences, "languages.id", "basic", "org.gnome.builder.editor.language", 
"trim-trailing-whitespace", "/org/gnome/builder/editor/language/{id}/", NULL, _("Trim trailing whitespace"), 
_("Upon saving, trailing whitespcae from modified lines will be trimmed."), NULL, 10);
+  ide_preferences_add_switch (preferences, "languages.id", "basic", "org.gnome.builder.editor.language", 
"trim-trailing-whitespace", "/org/gnome/builder/editor/language/{id}/", NULL, _("Trim trailing whitespace"), 
_("Upon saving, trailing whitespace from modified lines will be trimmed."), NULL, 10);
 
   ide_preferences_add_list_group (preferences, "languages.id", "margin", _("Margins"), 0);
   ide_preferences_add_radio (preferences, "languages.id", "margin", "org.gnome.builder.editor.language", 
"show-right-margin", "/org/gnome/builder/editor/language/{id}/", NULL, _("Show right margin"), NULL, NULL, 0);
diff --git a/plugins/build-tools/gbp-build-tool.c b/plugins/build-tools/gbp-build-tool.c
index 784f62c..b24dea6 100644
--- a/plugins/build-tools/gbp-build-tool.c
+++ b/plugins/build-tools/gbp-build-tool.c
@@ -253,7 +253,7 @@ gbp_build_tool_run_async (IdeApplicationTool  *tool,
     { "clean", 'c', 0, G_OPTION_ARG_NONE, &clean,
       N_("Clean the project") },
     { "device", 'd', 0, G_OPTION_ARG_STRING, &device_id,
-      N_("The id of the device to build for"),
+      N_("The ID of the device to build for"),
       N_("local") },
     { "parallel", 'j', 0, G_OPTION_ARG_INT, &parallel,
       N_("Number of workers to use when building"),
diff --git a/plugins/create-project/gbp-create-project-tool.c 
b/plugins/create-project/gbp-create-project-tool.c
index cecb8e0..0c9e1dc 100644
--- a/plugins/create-project/gbp-create-project-tool.c
+++ b/plugins/create-project/gbp-create-project-tool.c
@@ -184,7 +184,7 @@ validate_name (GbpCreateProjectTool  *self,
           g_set_error (error,
                        G_IO_ERROR,
                        G_IO_ERROR_INVALID_DATA,
-                       _("Filename must be ascii and may not contain : or ="));
+                       _("Filename must be ASCII and may not contain : or ="));
           return FALSE;
         }
     }


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