[gtranslator] Rename to GNOME Translation Editor



commit b326a987a4b799866888b06c9575e4fb1a7b317b
Author: Daniel García Moreno <danigm wadobo com>
Date:   Mon Oct 29 11:44:59 2018 +0100

    Rename to GNOME Translation Editor
    
    See #3

 build-aux/flatpak/org.gnome.Gtranslator.json           | 4 ++--
 data/meson.build                                       | 2 +-
 data/org.gnome.Gtranslator.desktop.in.in               | 5 +++--
 gtranslator.doap                                       | 4 ++--
 src/gtr-actions-app.c                                  | 2 +-
 src/gtr-application.c                                  | 6 +++---
 src/gtr-notebook.ui                                    | 2 +-
 src/gtr-po.c                                           | 2 +-
 src/gtr-preferences-dialog.c                           | 2 +-
 src/gtr-preferences-dialog.ui                          | 2 +-
 src/gtr-profile-dialog.c                               | 4 ++--
 src/gtr-utils.c                                        | 4 ++--
 src/gtr-window.c                                       | 6 +++---
 src/gtr-window.ui                                      | 2 +-
 src/main.c                                             | 2 +-
 src/translation-memory/gtr-translation-memory-dialog.c | 2 +-
 16 files changed, 26 insertions(+), 25 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.Gtranslator.json b/build-aux/flatpak/org.gnome.Gtranslator.json
index e898dac0..5f1c383e 100644
--- a/build-aux/flatpak/org.gnome.Gtranslator.json
+++ b/build-aux/flatpak/org.gnome.Gtranslator.json
@@ -1,5 +1,5 @@
 {
-    "app-id" : "org.gnome.Gtranslator",
+    "app-id" : "org.gnome.GtranslatorDevel",
     "runtime" : "org.gnome.Platform",
     "runtime-version" : "3.30",
     "sdk" : "org.gnome.Sdk",
@@ -108,4 +108,4 @@
             ]
         }
     ]
-}
\ No newline at end of file
+}
diff --git a/data/meson.build b/data/meson.build
index f729c172..3be4759f 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -17,7 +17,7 @@ i18n.merge_file(
   desktop,
   type: 'desktop',
   input: desktop_in,
-  output: desktop,
+  output: '@0@.desktop'.format(gtr_app_id),
   po_dir: po_dir,
   install: true,
   install_dir: join_paths(gtr_datadir, 'applications'),
diff --git a/data/org.gnome.Gtranslator.desktop.in.in b/data/org.gnome.Gtranslator.desktop.in.in
index cbc978bc..36b6ca61 100644
--- a/data/org.gnome.Gtranslator.desktop.in.in
+++ b/data/org.gnome.Gtranslator.desktop.in.in
@@ -1,5 +1,5 @@
 [Desktop Entry]
-Name=Gtranslator
+Name=Translation Editor
 GenericName=PO File Editor
 Comment=Translate and localize applications and libraries
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
@@ -9,4 +9,5 @@ Terminal=false
 Type=Application
 StartupNotify=true
 MimeType=text/x-gettext-translation;text/x-gettext-translation-template;
-Categories=GNOME;GTK;Development;Translation;
+Categories=GNOME;GTK;Development;Utility;Translation;
+Keywords=Translation;Editor;Gettext;Write;
diff --git a/gtranslator.doap b/gtranslator.doap
index a981ecb5..cd897b3c 100644
--- a/gtranslator.doap
+++ b/gtranslator.doap
@@ -6,8 +6,8 @@
          xmlns="http://usefulinc.com/ns/doap#";>
 
   <name xml:lang="en">gtranslator</name>
-  <shortdesc xml:lang="en">GNOME PO files editor</shortdesc>
-  <description>gtranslator is an enhanced gettext PO file editor for the GNOME
+  <shortdesc xml:lang="en">GNOME Translation Editor</shortdesc>
+  <description>Translation Editor is an enhanced gettext PO file editor for the GNOME
 desktop environment. It handles all forms of gettext PO files and
 features many comfortable everyday usage features like find and
 replace functions, auto translation, and translation learning.</description>
diff --git a/src/gtr-actions-app.c b/src/gtr-actions-app.c
index 92fb0ac1..e9c515ca 100644
--- a/src/gtr-actions-app.c
+++ b/src/gtr-actions-app.c
@@ -101,7 +101,7 @@ gtr_about_dialog (GtrWindow *window)
                          "translator-credits", _("translator-credits"),
                          "version", PACKAGE_VERSION,
                          "website", PACKAGE_URL,
-                         "website-label", _("Gtranslator Web Site"),
+                         "website-label", _("Translation Editor Web Site"),
                          NULL);
 
 }
diff --git a/src/gtr-application.c b/src/gtr-application.c
index 5bf6bf78..dd7989b8 100644
--- a/src/gtr-application.c
+++ b/src/gtr-application.c
@@ -552,8 +552,8 @@ gtr_application_startup (GApplication *application)
 
   G_APPLICATION_CLASS (gtr_application_parent_class)->startup (application);
 
-  g_set_application_name (_("Gtranslator"));
-  gtk_window_set_default_icon_name ("gtranslator");
+  g_set_application_name (_("Translation Editor"));
+  gtk_window_set_default_icon_name ("Gtranslator");
 
   /* We set the default icon dir */
   gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
@@ -688,7 +688,7 @@ GtrApplication *
 _gtr_application_new ()
 {
   return GTR_APPLICATION (g_object_new (GTR_TYPE_APPLICATION,
-                                        "application-id", "org.gnome.Gtranslator",
+                                        "application-id", PACKAGE_APPID,
                                         "flags", G_APPLICATION_HANDLES_OPEN,
                                         NULL));
 }
diff --git a/src/gtr-notebook.ui b/src/gtr-notebook.ui
index 8cbf8add..1ee220ca 100644
--- a/src/gtr-notebook.ui
+++ b/src/gtr-notebook.ui
@@ -291,7 +291,7 @@
   <object class="GtkHeaderBar" id="titlebar">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
-    <property name="title">Gtranslator</property>
+    <property name="title">Translation Editor</property>
     <property name="show_close_button">True</property>
     <child>
       <object class="GtkButton" id="open">
diff --git a/src/gtr-po.c b/src/gtr-po.c
index 8a396a6b..e96fb9b2 100644
--- a/src/gtr-po.c
+++ b/src/gtr-po.c
@@ -597,7 +597,7 @@ _gtr_po_load_ensure_utf8 (GtrPo * po, GError ** error)
                    GTR_PO_ERROR_ENCODING,
                    _("All attempt to convert the file to UTF-8 has failed, "
                      "use the msgconv or iconv command line tools before "
-                     "opening this file with gtranslator"));
+                     "opening this file with GNOME Translation Editor"));
       return FALSE;
     }
 
diff --git a/src/gtr-preferences-dialog.c b/src/gtr-preferences-dialog.c
index 010b2e61..0263ce68 100644
--- a/src/gtr-preferences-dialog.c
+++ b/src/gtr-preferences-dialog.c
@@ -588,7 +588,7 @@ gtr_preferences_dialog_init (GtrPreferencesDialog * dlg)
                           _("_Close"), GTK_RESPONSE_CLOSE,
                           _("Help"), GTK_RESPONSE_HELP, NULL);
 
-  gtk_window_set_title (GTK_WINDOW (dlg), _("Gtranslator Preferences"));
+  gtk_window_set_title (GTK_WINDOW (dlg), _("Translation Editor Preferences"));
   gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
   gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
 
diff --git a/src/gtr-preferences-dialog.ui b/src/gtr-preferences-dialog.ui
index 10ffaeeb..0054af64 100644
--- a/src/gtr-preferences-dialog.ui
+++ b/src/gtr-preferences-dialog.ui
@@ -46,7 +46,7 @@
   <object class="GtkDialog" id="preferences_dialog">
     <property name="can_focus">False</property>
     <property name="border_width">5</property>
-    <property name="title" translatable="yes">Gtranslator Preferences</property>
+    <property name="title" translatable="yes">Translation Editor Preferences</property>
     <property name="resizable">False</property>
     <property name="destroy_with_parent">True</property>
     <property name="type_hint">dialog</property>
diff --git a/src/gtr-profile-dialog.c b/src/gtr-profile-dialog.c
index 72d3fd62..ca4e5256 100644
--- a/src/gtr-profile-dialog.c
+++ b/src/gtr-profile-dialog.c
@@ -70,7 +70,7 @@ gtr_profile_dialog_init (GtrProfileDialog *dlg)
   gtk_dialog_add_button (GTK_DIALOG (dlg),
                          _("_Cancel"), GTK_RESPONSE_CANCEL);
 
-  gtk_window_set_title (GTK_WINDOW (dlg), _("Gtranslator Profile"));
+  gtk_window_set_title (GTK_WINDOW (dlg), _("Translation Editor Profile"));
   gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
   gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
   gtk_window_set_modal (GTK_WINDOW (dlg), TRUE);
@@ -216,4 +216,4 @@ gtr_profile_dialog_get_profile (GtrProfileDialog *dlg)
                                 gtr_languages_fetcher_get_plural_form (GTR_LANGUAGES_FETCHER 
(priv->languages_fetcher)));
 
   return profile;
-}
\ No newline at end of file
+}
diff --git a/src/gtr-utils.c b/src/gtr-utils.c
index 16bfc09c..4e7bd45d 100644
--- a/src/gtr-utils.c
+++ b/src/gtr-utils.c
@@ -476,7 +476,7 @@ gtr_utils_help_display (GtkWindow * parent,
      GTK_DIALOG_DESTROY_WITH_PARENT,
      GTK_MESSAGE_ERROR,
      GTK_BUTTONS_CLOSE,
-     _("Sorry, Gtranslator for windows is unable to display help yet."));
+     _("Sorry, Translation Editor for windows is unable to display help yet."));
      gtk_dialog_run (GTK_DIALOG (dialog));
      gtk_widget_destroy (dialog);
 
@@ -514,7 +514,7 @@ gtr_utils_help_display (GtkWindow * parent,
                                        GTK_MESSAGE_ERROR,
                                        GTK_BUTTONS_CLOSE,
                                        _("Unable to display help. "
-                                         "Please make sure the Gtranslator "
+                                         "Please make sure the Translation Editor "
                                          "documentation package is installed."));
       gtk_dialog_run (GTK_DIALOG (dialog));
       gtk_widget_destroy (dialog);
diff --git a/src/gtr-window.c b/src/gtr-window.c
index c1f7ef24..df9a78f0 100644
--- a/src/gtr-window.c
+++ b/src/gtr-window.c
@@ -294,13 +294,13 @@ set_window_title (GtrWindow * window, gboolean with_path)
       if (state == GTR_PO_STATE_MODIFIED)
         {
           /* Translators: this is the title of the window with a modified document */
-          title = g_strdup_printf (_("*%s — gtranslator"), basename);
+          title = g_strdup_printf (_("*%s — Translation Editor"), basename);
           gtr_notebook_enable_save (GTR_NOTEBOOK (priv->notebook), TRUE);
         }
       else
         {
           /* Translators: this is the title of the window with a document opened */
-          title = g_strdup_printf (_("%s — gtranslator"), basename);
+          title = g_strdup_printf (_("%s — Translation Editor"), basename);
           gtr_notebook_enable_save (GTR_NOTEBOOK (priv->notebook), FALSE);
         }
 
@@ -309,7 +309,7 @@ set_window_title (GtrWindow * window, gboolean with_path)
     }
   else
     {
-      title = g_strdup (_("gtranslator"));
+      title = g_strdup (_("Translation Editor"));
       subtitle = g_strdup ("");
     }
 
diff --git a/src/gtr-window.ui b/src/gtr-window.ui
index c43af06a..61e4eeba 100644
--- a/src/gtr-window.ui
+++ b/src/gtr-window.ui
@@ -22,7 +22,7 @@
           <object class="GtkHeaderBar" id="header_bar">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
-            <property name="title" translatable="yes">Gtranslator</property>
+            <property name="title" translatable="yes">Translation Editor</property>
             <property name="show_close_button">True</property>
             <child>
               <object class="GtkMenuButton" id="menu_button">
diff --git a/src/main.c b/src/main.c
index 89c491d4..32340f41 100644
--- a/src/main.c
+++ b/src/main.c
@@ -64,7 +64,7 @@ setup_path (void)
   g_free (bin);
 
   if (!g_setenv ("PATH", path, TRUE))
-    g_warning ("Could not set PATH for gtranslator");
+    g_warning ("Could not set PATH for Translation Editor");
 
   g_free (path);
 }
diff --git a/src/translation-memory/gtr-translation-memory-dialog.c 
b/src/translation-memory/gtr-translation-memory-dialog.c
index cdfe3336..607d6338 100644
--- a/src/translation-memory/gtr-translation-memory-dialog.c
+++ b/src/translation-memory/gtr-translation-memory-dialog.c
@@ -284,7 +284,7 @@ gtr_translation_memory_dialog_init (GtrTranslationMemoryDialog *dlg)
                           GTK_RESPONSE_CLOSE,
                           NULL);
 
-  gtk_window_set_title (GTK_WINDOW (dlg), _("Gtranslator Translation Memory Manager"));
+  gtk_window_set_title (GTK_WINDOW (dlg), _("Translation Editor Memory Manager"));
   gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
   gtk_window_set_destroy_with_parent (GTK_WINDOW (dlg), TRUE);
 


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