App: Fix Translatable App Name
To maintain consistent naming, prevent the translation of the application name.
This commit is contained in:
parent
e4d18ae401
commit
67f6e2bfd9
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>page.codeberg.Imaginer.Imaginer.desktop</id>
|
||||
<name>Imaginer</name>
|
||||
<name translatable="no">Imaginer</name>
|
||||
<summary>Imagine with AI</summary>
|
||||
<developer_name>0xMRTT</developer_name>
|
||||
<launchable type="desktop-id">page.codeberg.Imaginer.Imaginer.desktop</launchable>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[Desktop Entry]
|
||||
# Translators: Do not translate the application name
|
||||
Name=Imaginer
|
||||
Exec=imaginer
|
||||
Icon=page.codeberg.Imaginer.Imaginer
|
||||
|
|
|
@ -2,7 +2,7 @@ using Gtk 4.0;
|
|||
using Adw 1;
|
||||
|
||||
template $ImaginerWindow : Adw.ApplicationWindow {
|
||||
title: _("Imaginer");
|
||||
title: "Imaginer";
|
||||
default-width: 350;
|
||||
default-height: 500;
|
||||
width-request: 250;
|
||||
|
@ -210,6 +210,7 @@ menu main-menu {
|
|||
}
|
||||
|
||||
item {
|
||||
//Translators: Do not translate the application name
|
||||
label: _("About Imaginer");
|
||||
action: "app.about";
|
||||
}
|
||||
|
|
|
@ -216,7 +216,8 @@ class ImaginerApplication(Adw.Application):
|
|||
|
||||
section_menu.append_item(Gio.MenuItem.new(label=_("Preferences"), detailed_action="app.preferences"))
|
||||
section_menu.append_item(Gio.MenuItem.new(label=_("Keyboard Shortcuts"), detailed_action="win.show-help-overlay"))
|
||||
section_menu.append_item(Gio.MenuItem.new(label=_("About"), detailed_action="app.about"))
|
||||
# Translators: Do not translate the application name
|
||||
section_menu.append_item(Gio.MenuItem.new(label=_("About Imaginer"), detailed_action="app.about"))
|
||||
|
||||
self.menu_model.append_section(None, section_menu)
|
||||
|
||||
|
|
Loading…
Reference in a new issue