[easytag/wip/application-window: 1/9] Review strings



commit 3c05fd1101498aeb45be3dd0312588b4a24caf85
Author: Ekaterina Gerasimova <kittykat3756 gmail com>
Date:   Fri Aug 15 22:36:19 2014 +0100

    Review strings

 data/menus.ui                         |   24 ++++++++++++------------
 data/org.gnome.EasyTAG.gschema.xml    |    2 +-
 data/toolbar.ui                       |    4 ++--
 nautilus-extension/nautilus-easytag.c |    4 ++--
 src/application.c                     |    4 ++--
 src/application_window.c              |    4 ++--
 src/browser.c                         |   12 ++++++++----
 src/et_core.c                         |    4 ++--
 src/file_area.c                       |    2 +-
 9 files changed, 32 insertions(+), 28 deletions(-)
---
diff --git a/data/menus.ui b/data/menus.ui
index c5604ac..e89f58c 100644
--- a/data/menus.ui
+++ b/data/menus.ui
@@ -48,12 +48,12 @@
                 <item>
                     <attribute name="accel">&lt;Primary&gt;z</attribute>
                     <attribute name="action">win.undo-file-changes</attribute>
-                    <attribute name="label" translatable="yes">Undo Last File Changes</attribute>
+                    <attribute name="label" translatable="yes">Undo for File</attribute>
                 </item>
                 <item>
                     <attribute name="accel">&lt;Primary&gt;y</attribute>
                     <attribute name="action">win.redo-file-changes</attribute>
-                    <attribute name="label" translatable="yes">Redo Last File Changes</attribute>
+                    <attribute name="label" translatable="yes">Redo for File</attribute>
                 </item>
                 <item>
                     <attribute name="accel">&lt;Primary&gt;s</attribute>
@@ -89,11 +89,11 @@
             <section>
                 <item>
                     <attribute name="action">win.undo-last-changes</attribute>
-                    <attribute name="label" translatable="yes">Undo Last Changes</attribute>
+                    <attribute name="label" translatable="yes">Undo</attribute>
                 </item>
                 <item>
                     <attribute name="action">win.redo-last-changes</attribute>
-                    <attribute name="label" translatable="yes">Redo Last Changes</attribute>
+                    <attribute name="label" translatable="yes">Redo</attribute>
                 </item>
             </section>
             <section>
@@ -372,24 +372,24 @@
                 <section>
                     <item>
                         <attribute name="action">win.sort-mode</attribute>
-                        <attribute name="label" translatable="yes">Ascending by bitrate</attribute>
+                        <attribute name="label" translatable="yes">Ascending by bit rate</attribute>
                         <attribute name="target">ascending-file-bitrate</attribute>
                     </item>
                     <item>
                         <attribute name="action">win.sort-mode</attribute>
-                        <attribute name="label" translatable="yes">Descending by bitrate</attribute>
+                        <attribute name="label" translatable="yes">Descending by bit rate</attribute>
                         <attribute name="target">descending-file-bitrate</attribute>
                     </item>
                 </section>
                 <section>
                     <item>
                         <attribute name="action">win.sort-mode</attribute>
-                        <attribute name="label" translatable="yes">Ascending by samplerate</attribute>
+                        <attribute name="label" translatable="yes">Ascending by sample rate</attribute>
                         <attribute name="target">ascending-file-samplerate</attribute>
                     </item>
                     <item>
                         <attribute name="action">win.sort-mode</attribute>
-                        <attribute name="label" translatable="yes">Descending by samplerate</attribute>
+                        <attribute name="label" translatable="yes">Descending by sample rate</attribute>
                         <attribute name="target">descending-file-samplerate</attribute>
                     </item>
                 </section>
@@ -869,24 +869,24 @@
                 <section>
                     <item>
                         <attribute name="action">win.sort-mode</attribute>
-                        <attribute name="label" translatable="yes">Ascending by bitrate</attribute>
+                        <attribute name="label" translatable="yes">Ascending by bit rate</attribute>
                         <attribute name="target">ascending-file-bitrate</attribute>
                     </item>
                     <item>
                         <attribute name="action">win.sort-mode</attribute>
-                        <attribute name="label" translatable="yes">Descending by bitrate</attribute>
+                        <attribute name="label" translatable="yes">Descending by bit rate</attribute>
                         <attribute name="target">descending-file-bitrate</attribute>
                     </item>
                 </section>
                 <section>
                     <item>
                         <attribute name="action">win.sort-mode</attribute>
-                        <attribute name="label" translatable="yes">Ascending by samplerate</attribute>
+                        <attribute name="label" translatable="yes">Ascending by sample rate</attribute>
                         <attribute name="target">ascending-file-samplerate</attribute>
                     </item>
                     <item>
                         <attribute name="action">win.sort-mode</attribute>
-                        <attribute name="label" translatable="yes">Descending by samplerate</attribute>
+                        <attribute name="label" translatable="yes">Descending by sample rate</attribute>
                         <attribute name="target">descending-file-samplerate</attribute>
                     </item>
                 </section>
diff --git a/data/org.gnome.EasyTAG.gschema.xml b/data/org.gnome.EasyTAG.gschema.xml
index 97c9041..0b73403 100644
--- a/data/org.gnome.EasyTAG.gschema.xml
+++ b/data/org.gnome.EasyTAG.gschema.xml
@@ -177,7 +177,7 @@
 
     <key name="file-show-header" type="b">
       <summary>Show audio file header summary</summary>
-      <description>Whether to show header information, such as bitrate and duration, for audio 
files</description>
+      <description>Whether to show header information, such as bit rate and duration, for audio 
files</description>
       <default>true</default>
     </key>
 
diff --git a/data/toolbar.ui b/data/toolbar.ui
index a6b9a55..8d8cc31 100644
--- a/data/toolbar.ui
+++ b/data/toolbar.ui
@@ -97,7 +97,7 @@
                 <property name="action-target">'file'</property>
                 <property name="icon-name">audio-x-generic</property>
                 <property name="label" translatable="yes">Tree Browser</property>
-                <property name="tooltip-text" translatable="yes">View by directory tree</property>
+                <property name="tooltip-text" translatable="yes">Browse directory tree</property>
                 <property name="visible">True</property>
             </object>
         </child>
@@ -107,7 +107,7 @@
                 <property name="action-target">'artist'</property>
                 <property name="label" translatable="yes">Artist and Album</property>
                 <!--<property name="icon-widget">artist_view_image</property>-->
-                <property name="tooltip-text" translatable="yes">View by artist and album</property>
+                <property name="tooltip-text" translatable="yes">Browse artist and album</property>
                 <property name="visible">True</property>
             </object>
         </child>
diff --git a/nautilus-extension/nautilus-easytag.c b/nautilus-extension/nautilus-easytag.c
index 51d5966..71620da 100644
--- a/nautilus-extension/nautilus-easytag.c
+++ b/nautilus-extension/nautilus-easytag.c
@@ -227,7 +227,7 @@ nautilus_easytag_get_file_items (NautilusMenuProvider *provider,
 
         item = nautilus_menu_item_new ("NautilusEasytag::open_directory",
                                        _("Open in EasyTAG"),
-                                       _("Open the current selected directory in EasyTAG"),
+                                       _("Open the selected directory in EasyTAG"),
                                        "easytag");
         g_signal_connect (item,
                           "activate",
@@ -245,7 +245,7 @@ nautilus_easytag_get_file_items (NautilusMenuProvider *provider,
 
         item = nautilus_menu_item_new ("NautilusEasytag::open_files",
                                        _("Open with EasyTAG"),
-                                       _("Open selected files in EasyTAG"),
+                                       _("Open the selected files in EasyTAG"),
                                        "easytag");
         g_signal_connect (item,
                           "activate",
diff --git a/src/application.c b/src/application.c
index 64e4406..a20788f 100644
--- a/src/application.c
+++ b/src/application.c
@@ -180,7 +180,7 @@ common_init (EtApplication *self)
 
     if (get_locale ())
         Log_Print (LOG_OK,
-                   _("Currently using locale '%s' (and eventually '%s')"),
+                   _("System locale is '%s', using '%s'"),
                    get_locale (), get_encoding_from_locale (get_locale ()));
 
     if (settings_warning)
@@ -416,7 +416,7 @@ et_application_open (GApplication *self,
     {
         if (activated)
         {
-            Log_Print (LOG_ERROR, _("Error while querying information for file: '%s' (%s)"),
+            Log_Print (LOG_ERROR, _("Error while querying information for file '%s': %s"),
                        path_utf8, err->message);
 
         }
diff --git a/src/application_window.c b/src/application_window.c
index baea914..61d8a99 100644
--- a/src/application_window.c
+++ b/src/application_window.c
@@ -557,7 +557,7 @@ on_delete (GSimpleAction *action,
                  * an error during deletion. */
                 if (error)
                 {
-                    Log_Print (LOG_ERROR, _("Cannot delete file (%s)"),
+                    Log_Print (LOG_ERROR, _("Cannot delete file ā€˜%sā€™"),
                                error->message);
                     g_clear_error (&error);
                 }
@@ -578,7 +578,7 @@ on_delete (GSimpleAction *action,
     g_list_free_full (rowreflist, (GDestroyNotify)gtk_tree_row_reference_free);
 
     if (nb_files_deleted < nb_files_to_delete)
-        msg = g_strdup (_("Files have been partially deleted"));
+        msg = g_strdup (_("Some files were not deleted"));
     else
         msg = g_strdup (_("All files have been deleted"));
 
diff --git a/src/browser.c b/src/browser.c
index be23cdd..d1b7ba0 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -551,7 +551,7 @@ et_browser_set_current_path_default (EtBrowser *self)
                           g_variant_new_bytestring (priv->current_path));
 
     et_application_window_status_bar_message (ET_APPLICATION_WINDOW (MainWindow),
-                                              _("New default path for files selected"),
+                                              _("New default path selected for browser"),
                                               TRUE);
 }
 
@@ -842,7 +842,9 @@ Browser_Tree_Node_Selected (EtBrowser *self, GtkTreeSelection *selection)
                                            GTK_BUTTONS_NONE,
                                            "%s",
                                            _("Some files have been modified but not saved"));
-        gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(msgdialog),"%s",_("Do you want to save 
them before changing the directory?"));
+        gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (msgdialog),
+                                                  "%s",
+                                                  _("Do you want to save them before changing directory?"));
         gtk_dialog_add_buttons (GTK_DIALOG (msgdialog), _("_Discard"),
                                 GTK_RESPONSE_NO, _("_Cancel"),
                                 GTK_RESPONSE_CANCEL, _("_Save"),
@@ -3216,7 +3218,8 @@ Browser_Tree_Rename_Directory (EtBrowser *self,
         {
             // ERROR! Could not find it!
             gchar *text_utf8 = filename_to_display(textsplit[i]);
-            Log_Print(LOG_ERROR,_("Error: Searching for %s, could not find node %s in tree."), last_path, 
text_utf8);
+            g_critical ("Error: Searching for %s, could not find node %s in tree.",
+                        last_path, text_utf8);
             g_strfreev(textsplit);
             g_free(text_utf8);
             return;
@@ -3826,7 +3829,8 @@ create_browser (EtBrowser *self)
                               "activate", G_CALLBACK (Browser_Entry_Activated),
                              self);
     gtk_box_pack_start(GTK_BOX(HBox),priv->entry_combo,TRUE,TRUE,1);
-    
gtk_widget_set_tooltip_text(GTK_WIDGET(GTK_ENTRY(gtk_bin_get_child(GTK_BIN(priv->entry_combo)))),_("Enter a 
directory to browse."));
+    gtk_widget_set_tooltip_text (GTK_WIDGET (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (priv->entry_combo)))),
+                                 _("Choose a directory to show in the browser"));
 
     /*
      * The button to select a directory to browse
diff --git a/src/et_core.c b/src/et_core.c
index fc4aff7..94c2614 100644
--- a/src/et_core.c
+++ b/src/et_core.c
@@ -625,7 +625,7 @@ GList *ET_Add_File_To_File_List (gchar *filename)
         case OPUS_FILE:
             if (!et_opus_read_file_info (file, ETFileInfo, &error))
             {
-                Log_Print (LOG_ERROR, _("Error while querying information for file: '%s' (%s)"),
+                Log_Print (LOG_ERROR, _("Error while querying information for file '%s': %s"),
                            filename_utf8, error->message);
                 g_error_free (error);
             }
@@ -637,7 +637,7 @@ GList *ET_Add_File_To_File_List (gchar *filename)
             /* To get at least the file size. */
             if (!et_core_read_file_info (filename, ETFileInfo, &error))
             {
-                Log_Print (LOG_ERROR, _("Error while querying information for file: '%s' (%s)"),
+                Log_Print (LOG_ERROR, _("Error while querying information for file '%s': %s"),
                            filename_utf8, error->message);
                 g_error_free (error);
             }
diff --git a/src/file_area.c b/src/file_area.c
index b6927b4..3853282 100644
--- a/src/file_area.c
+++ b/src/file_area.c
@@ -133,7 +133,7 @@ create_file_area (EtFileArea *self)
 
     /* Translators: Please try to keep this string as short as possible as it
      * is shown in a narrow column. */
-    priv->samplerate_label = gtk_label_new (_("Frequency:"));
+    priv->samplerate_label = gtk_label_new (_("Sample rate:"));
     gtk_grid_attach (GTK_GRID (priv->header_grid), priv->samplerate_label, 0,
                      2, 1, 1);
     priv->samplerate_value_label = gtk_label_new ("");


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