Commit b326a987 authored by Daniel García Moreno's avatar Daniel García Moreno

Rename to GNOME Translation Editor

See #3
parent e890a9db
{
"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
}
......@@ -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'),
......
[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;
......@@ -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>
......
......@@ -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);
}
......@@ -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");
  • Are you sure? The icon filename is org.gnome.Gtranslator, right?

  • The icon filename is org.gnome.Gtranslator or org.gnome.GtranslatorDevel in development mode, so maybe we should change the default_icon_name to be PACKAGE_APPID

    Edited by Daniel Garcia Moreno
Please register or sign in to reply
/* 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));
}
......
......@@ -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>
Please register or sign in to reply
<property name="show_close_button">True</property>
<child>
<object class="GtkButton" id="open">
......
......@@ -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;
}
......
......@@ -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);
......
......@@ -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>
......
......@@ -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
}
......@@ -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);
......
......@@ -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 ("");
}
......
......@@ -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">
......
......@@ -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);
}
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment