[gnome-builder] Improve some translatable strings



commit 23e4a62730b5c5d9d9b2a763f6ba8906bb9e298c
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Fri Mar 27 19:14:19 2015 +0100

    Improve some translatable strings

 .../org.gnome.builder.editor.gschema.xml.in        |   23 +++++++++----------
 .../org.gnome.builder.experimental.gschema.xml.in  |    4 +-
 data/ui/gb-preferences-page-experimental.ui        |    2 +-
 libide/clang/ide-clang-completion-item.c           |    2 +-
 libide/devhelp/ide-devhelp-search-result.c         |    4 +-
 libide/gca/ide-gca-service.c                       |    4 +-
 libide/git/ide-git-buffer-change-monitor.c         |    2 +-
 libide/git/ide-git-search-provider.c               |    2 +-
 libide/gjs/ide-gjs-script.cpp                      |    2 +-
 libide/ide-buffer-manager.c                        |    2 +-
 libide/ide-context.c                               |    6 ++--
 libide/ide-device.c                                |    2 +-
 libide/ide-language.c                              |    2 +-
 libide/ide-project-file.c                          |    4 +-
 libide/ide-source-view.c                           |   10 ++++----
 src/vim/gb-vim.c                                   |    2 +-
 src/workbench/gb-workbench.c                       |    4 +-
 17 files changed, 38 insertions(+), 39 deletions(-)
---
diff --git a/data/gsettings/org.gnome.builder.editor.gschema.xml.in 
b/data/gsettings/org.gnome.builder.editor.gschema.xml.in
index 631cafb..8565165 100644
--- a/data/gsettings/org.gnome.builder.editor.gschema.xml.in
+++ b/data/gsettings/org.gnome.builder.editor.gschema.xml.in
@@ -11,47 +11,46 @@
     <key name="restore-insert-mark" type="b">
       <default>true</default>
       <summary>Restore last position</summary>
-      <summary>Jump to the last position when reopening a file.</summary>
-      <description>Whether or not VIM style keybindings should be used in the source code 
editor.</description>
+      <description>Jump to the last position when reopening a file</description>
     </key>
     <key name="word-completion" type="b">
       <default>true</default>
-      <summary>Enable auto-completion of words in document.</summary>
+      <summary>Enable auto-completion of words in document</summary>
       <description>If enabled, words within the current document will be available for 
auto-completion.</description>
     </key>
     <key name="show-line-changes" type="b">
       <default>true</default>
-      <summary>Show modified lines.</summary>
+      <summary>Show modified lines</summary>
       <description>If enabled, the editor will show line additions and changes next to the source 
code.</description>
     </key>
     <key name="highlight-current-line" type="b">
       <default>false</default>
-      <summary>Highlight current line.</summary>
+      <summary>Highlight current line</summary>
       <description>If enabled, the editor will highlight the line containing the cursor.</description>
     </key>
     <key name="highlight-matching-brackets" type="b">
       <default>false</default>
-      <summary>Highlight matching brackets.</summary>
-      <description>If enabled, the editor will highlight maching brackets.</description>
+      <summary>Highlight matching brackets</summary>
+      <description>If enabled, the editor will highlight matching brackets.</description>
     </key>
     <key name="show-line-numbers" type="b">
       <default>true</default>
-      <summary>Show line numbers.</summary>
+      <summary>Show line numbers</summary>
       <description>If enabled, the editor will show line numbers.</description>
     </key>
     <key name="smart-backspace" type="b">
       <default>true</default>
-      <summary>Smart backspace.</summary>
+      <summary>Smart Backspace</summary>
       <description>Backspace will remove additional spaces to keep you aligned to the indentation 
size.</description>
     </key>
     <key name="smart-home-end" type="b">
       <default>true</default>
-      <summary>Smart home end.</summary>
-      <description>Whether or not home moves to first non-space character.</description>
+      <summary>Smart Home and End</summary>
+      <description>Whether or not Home moves to first non-space character.</description>
     </key>
     <key name="show-grid-lines" type="b">
       <default>true</default>
-      <summary>Show grid lines.</summary>
+      <summary>Show grid lines</summary>
       <description>If enabled, the editor will show grid lines in the document.</description>
     </key>
     <key name="font-name" type="s">
diff --git a/data/gsettings/org.gnome.builder.experimental.gschema.xml.in 
b/data/gsettings/org.gnome.builder.experimental.gschema.xml.in
index 2ee037c..dcc88d9 100644
--- a/data/gsettings/org.gnome.builder.experimental.gschema.xml.in
+++ b/data/gsettings/org.gnome.builder.experimental.gschema.xml.in
@@ -2,8 +2,8 @@
   <schema id="org.gnome.builder.experimental" path="/org/gnome/builder/experimental/" 
gettext-domain="gnome-builder">
     <key name="clang-autocompletion" type="b">
       <default>false</default>
-      <summary>Clang based autocompletion.</summary>
-      <description>Use clang for autocompletion in the C and C++ languages.</description>
+      <summary>Clang based autocompletion</summary>
+      <description>Use Clang for autocompletion in the C and C++ languages.</description>
     </key>
   </schema>
 </schemalist>
diff --git a/data/ui/gb-preferences-page-experimental.ui b/data/ui/gb-preferences-page-experimental.ui
index a21b5be..7cae022 100644
--- a/data/ui/gb-preferences-page-experimental.ui
+++ b/data/ui/gb-preferences-page-experimental.ui
@@ -45,7 +45,7 @@
                       <object class="GtkLabel">
                         <property name="visible">true</property>
                         <property name="xalign">0</property>
-                        <property name="label" translatable="yes">Use clang for autocompletion in the C and 
C++ languages.</property>
+                        <property name="label" translatable="yes">Use Clang for autocompletion in the C and 
C++ languages.</property>
                         <property name="margin-start">6</property>
                         <property name="margin-bottom">6</property>
                         <style>
diff --git a/libide/clang/ide-clang-completion-item.c b/libide/clang/ide-clang-completion-item.c
index c3fb761..1472d67 100644
--- a/libide/clang/ide-clang-completion-item.c
+++ b/libide/clang/ide-clang-completion-item.c
@@ -425,7 +425,7 @@ ide_clang_completion_item_class_init (IdeClangCompletionItemClass *klass)
   gParamSpecs [PROP_RESULTS] =
     g_param_spec_boxed ("results",
                          _("Results"),
-                         _("The clang result set."),
+                         _("The Clang result set."),
                          IDE_TYPE_REF_PTR,
                          (G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_RESULTS, gParamSpecs [PROP_RESULTS]);
diff --git a/libide/devhelp/ide-devhelp-search-result.c b/libide/devhelp/ide-devhelp-search-result.c
index 63ec1c3..2f9cc5a 100644
--- a/libide/devhelp/ide-devhelp-search-result.c
+++ b/libide/devhelp/ide-devhelp-search-result.c
@@ -96,8 +96,8 @@ ide_devhelp_search_result_class_init (IdeDevhelpSearchResultClass *klass)
 
   gParamSpecs [PROP_URI] =
     g_param_spec_string ("uri",
-                         _("Uri"),
-                         _("The uri to the devhelp document."),
+                         _("URI"),
+                         _("The URI to the Devhelp document."),
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_URI, gParamSpecs [PROP_URI]);
diff --git a/libide/gca/ide-gca-service.c b/libide/gca/ide-gca-service.c
index d9a2c04..7874057 100644
--- a/libide/gca/ide-gca-service.c
+++ b/libide/gca/ide-gca-service.c
@@ -113,7 +113,7 @@ ide_gca_service_get_proxy_async (IdeGcaService       *self,
       g_task_return_new_error (task,
                                G_IO_ERROR,
                                G_IO_ERROR_NOT_CONNECTED,
-                               _("Not connected to DBus."));
+                               _("Not connected to D-Bus."));
       return;
     }
 
@@ -179,7 +179,7 @@ ide_gca_service_class_init (IdeGcaServiceClass *klass)
 
   if (!gDBus)
     {
-      g_warning (_("Failed to load DBus connection to session bus. "
+      g_warning (_("Failed to load D-Bus connection to session bus. "
                    "Code assistance will be disabled. "
                    "Error was: %s"),
                  error->message);
diff --git a/libide/git/ide-git-buffer-change-monitor.c b/libide/git/ide-git-buffer-change-monitor.c
index 59ee75b..5dbd125 100644
--- a/libide/git/ide-git-buffer-change-monitor.c
+++ b/libide/git/ide-git-buffer-change-monitor.c
@@ -614,7 +614,7 @@ ide_git_buffer_change_monitor_calculate_threaded (IdeGitBufferChangeMonitor  *se
         g_set_error (error,
                      G_IO_ERROR,
                      G_IO_ERROR_NOT_FOUND,
-                     _("The request file does not exist within the git index."));
+                     _("The requested file does not exist within the git index."));
       return FALSE;
     }
 
diff --git a/libide/git/ide-git-search-provider.c b/libide/git/ide-git-search-provider.c
index 9e7a4c4..cd9dfc9 100644
--- a/libide/git/ide-git-search-provider.c
+++ b/libide/git/ide-git-search-provider.c
@@ -102,7 +102,7 @@ ide_git_search_provider_get_index_async (IdeGitSearchProvider *self,
       g_task_return_new_error (task,
                                G_IO_ERROR,
                                G_IO_ERROR_NOT_SUPPORTED,
-                               _("Git search provider requires the Git VCS"));
+                               _("Git search provider requires the git VCS"));
       return;
     }
 
diff --git a/libide/gjs/ide-gjs-script.cpp b/libide/gjs/ide-gjs-script.cpp
index 5b0eee9..189b186 100644
--- a/libide/gjs/ide-gjs-script.cpp
+++ b/libide/gjs/ide-gjs-script.cpp
@@ -210,7 +210,7 @@ ide_gjs_script_init_async (GAsyncInitable      *initable,
       g_task_return_new_error (task,
                                G_IO_ERROR,
                                G_IO_ERROR_NOT_SUPPORTED,
-                               _("The script \"%s\" is not a javascript file."),
+                               _("The script \"%s\" is not a JavaScript file."),
                                path);
       return;
     }
diff --git a/libide/ide-buffer-manager.c b/libide/ide-buffer-manager.c
index baa9679..16b5974 100644
--- a/libide/ide-buffer-manager.c
+++ b/libide/ide-buffer-manager.c
@@ -1096,7 +1096,7 @@ ide_buffer_manager_class_init (IdeBufferManagerClass *klass)
 
   gParamSpecs [PROP_FOCUS_BUFFER] =
     g_param_spec_object ("focus-buffer",
-                         _("Focus Buffer"),
+                         _("Focused Buffer"),
                          _("The currently focused buffer."),
                          IDE_TYPE_BUFFER,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
diff --git a/libide/ide-context.c b/libide/ide-context.c
index 56e18a2..0810c97 100644
--- a/libide/ide-context.c
+++ b/libide/ide-context.c
@@ -651,7 +651,7 @@ ide_context_class_init (IdeContextClass *klass)
 
   gParamSpecs [PROP_ROOT_BUILD_DIR] =
     g_param_spec_string ("root-build-dir",
-                         _("Root Build Dir"),
+                         _("Root Build Directory"),
                          _("The root directory to perform builds within."),
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
@@ -696,8 +696,8 @@ ide_context_class_init (IdeContextClass *klass)
 
   gParamSpecs [PROP_VCS] =
     g_param_spec_object ("vcs",
-                         _("Vcs"),
-                         _("The vcs for the context."),
+                         _("VCS"),
+                         _("The VCS for the context."),
                          IDE_TYPE_VCS,
                          (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_VCS,
diff --git a/libide/ide-device.c b/libide/ide-device.c
index b2af99f..2b0ec6e 100644
--- a/libide/ide-device.c
+++ b/libide/ide-device.c
@@ -240,7 +240,7 @@ ide_device_class_init (IdeDeviceClass *klass)
 
   gParamSpecs [PROP_ID] =
     g_param_spec_string ("id",
-                         _("Id"),
+                         _("ID"),
                          _("The device identifier."),
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
diff --git a/libide/ide-language.c b/libide/ide-language.c
index 22553ec..48f14e8 100644
--- a/libide/ide-language.c
+++ b/libide/ide-language.c
@@ -361,7 +361,7 @@ ide_language_class_init (IdeLanguageClass *klass)
 
   gParamSpecs [PROP_ID] =
     g_param_spec_string ("id",
-                         _("Id"),
+                         _("ID"),
                          _("The language identifier such as \"c\"."),
                          NULL,
                          (G_PARAM_READWRITE |
diff --git a/libide/ide-project-file.c b/libide/ide-project-file.c
index 9db9c07..e7a3abb 100644
--- a/libide/ide-project-file.c
+++ b/libide/ide-project-file.c
@@ -226,7 +226,7 @@ ide_project_file_class_init (IdeProjectFileClass *klass)
   gParamSpecs [PROP_FILE_INFO] =
     g_param_spec_object ("file-info",
                          _("File Info"),
-                         _("The file info for the project file."),
+                         _("The file information for the project file."),
                          G_TYPE_FILE_INFO,
                          (G_PARAM_READWRITE |
                           G_PARAM_CONSTRUCT_ONLY |
@@ -237,7 +237,7 @@ ide_project_file_class_init (IdeProjectFileClass *klass)
   gParamSpecs [PROP_NAME] =
     g_param_spec_string ("name",
                          _("Name"),
-                         _("The shortname of the file."),
+                         _("The short name of the file."),
                          NULL,
                          (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_NAME,
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index 00339c6..3969583 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -5081,7 +5081,7 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
   gParamSpecs [PROP_ENABLE_WORD_COMPLETION] =
     g_param_spec_boolean ("enable-word-completion",
                           _("Enable Word Completion"),
-                          _("If words from all buffers can be used to autocomplete"),
+                          _("If words from all buffers can be used to autocomplete."),
                           FALSE,
                           (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_ENABLE_WORD_COMPLETION,
@@ -5090,7 +5090,7 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
   gParamSpecs [PROP_FONT_NAME] =
     g_param_spec_string ("font-name",
                          _("Font Name"),
-                         _("The pango font name ot use for rendering source."),
+                         _("The Pango font name to use for rendering source."),
                          "Monospace",
                          (G_PARAM_WRITABLE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_FONT_NAME,
@@ -5103,7 +5103,7 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
   gParamSpecs [PROP_INSERT_MATCHING_BRACE] =
     g_param_spec_boolean ("insert-matching-brace",
                           _("Insert Matching Brace"),
-                          _("Insert a matching brace/bracket/quotation/paren."),
+                          _("Insert a matching brace/bracket/quotation/parenthesis."),
                           FALSE,
                           (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_INSERT_MATCHING_BRACE,
@@ -5114,7 +5114,7 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
   gParamSpecs [PROP_OVERWRITE_BRACES] =
     g_param_spec_boolean ("overwrite-braces",
                           _("Overwrite Braces"),
-                          _("Overwrite a matching brace/bracket/quotation/paren."),
+                          _("Overwrite a matching brace/bracket/quotation/parenthesis."),
                           FALSE,
                           (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_OVERWRITE_BRACES,
@@ -5188,7 +5188,7 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
   gParamSpecs [PROP_SMART_BACKSPACE] =
     g_param_spec_boolean ("smart-backspace",
                          _("Smart Backspace"),
-                         _("If smart backspace should be used."),
+                         _("If smart Backspace should be used."),
                          FALSE,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_SMART_BACKSPACE,
diff --git a/src/vim/gb-vim.c b/src/vim/gb-vim.c
index 67f52fe..206f78a 100644
--- a/src/vim/gb-vim.c
+++ b/src/vim/gb-vim.c
@@ -540,7 +540,7 @@ gb_vim_command_syntax (GtkSourceView  *source_view,
       g_set_error (error,
                    GB_VIM_ERROR,
                    GB_VIM_ERROR_UNKNOWN_OPTION,
-                   _("Invalid :syntax subcommand : %s"),
+                   _("Invalid :syntax subcommand: %s"),
                    options);
       return FALSE;
     }
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index a2dc24f..4625aeb 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -357,7 +357,7 @@ gb_workbench_class_init (GbWorkbenchClass *klass)
   gParamSpecs [PROP_ACTIVE_WORKSPACE] =
     g_param_spec_object ("active-workspace",
                          _("Active Workspace"),
-                         _("The active workspace"),
+                         _("The active workspace."),
                          GB_TYPE_WORKSPACE,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_ACTIVE_WORKSPACE,
@@ -374,7 +374,7 @@ gb_workbench_class_init (GbWorkbenchClass *klass)
   gParamSpecs [PROP_COMMAND_MANAGER] =
     g_param_spec_object ("command-manager",
                          _("Command Manager"),
-                         _("The command manager for the workbench"),
+                         _("The command manager for the workbench."),
                          GB_TYPE_COMMAND_MANAGER,
                          (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_COMMAND_MANAGER,


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