Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/org.ramez.terminator.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Type=Application
Categories=Utility;
Keywords=GTK;
StartupNotify=true
DBusActivatable=true
DBusActivatable=false
Comment="Unified linux uninstaller"
5 changes: 5 additions & 0 deletions data/org.ramez.terminator.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ imports.package.init({
datadir: "@datadir@",
});

GLib.setenv('GETTEXT_PACKAGE', '@PACKAGE_NAME@', true);
GLib.setenv('TEXTDOMAINDIR', GLib.build_filenamev([GLib.get_user_data_dir(), 'locale']), true);
GLib.setenv('LANGUAGE', 'ru', true);
imports.package.initGettext();

// Detect if running from build directory and load resources
const buildDir = GLib.path_get_dirname(programInvocationName);
const srcResource = GLib.build_filenamev([buildDir, 'org.ramez.terminator.src.gresource']);
Expand Down
6 changes: 3 additions & 3 deletions data/ui/shortcuts-dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<object class="AdwShortcutsDialog" id="shortcuts_dialog">
<child>
<object class="AdwShortcutsSection">
<property name="title" translatable="yes">Shortcuts</property>
<property name="title">Shortcuts</property>
<child>
<object class="AdwShortcutsItem">
<property name="title" translatable="yes" context="shortcut window">Show Shortcuts</property>
<property name="title">Show Shortcuts</property>
<property name="action-name">app.shortcuts</property>
</object>
</child>
<child>
<object class="AdwShortcutsItem">
<property name="title" translatable="yes" context="shortcut window">Quit</property>
<property name="title">Quit</property>
<property name="action-name">app.quit</property>
</object>
</child>
Expand Down
48 changes: 24 additions & 24 deletions data/ui/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<requires lib="gtk" version="4.0"/>
<requires lib="Adw" version="1.0"/>
<template class="TerminatorWindow" parent="AdwApplicationWindow">
<property name="title" translatable="yes">Terminator</property>
<property name="title">Terminator</property>
<property name="default-width">800</property>
<property name="default-height">600</property>
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<child type="end">
<object class="GtkMenuButton">
<object class="GtkMenuButton" id="menuButton">
<property name="primary">True</property>
<property name="icon-name">open-menu-symbolic</property>
<property name="tooltip-text" translatable="yes">Main Menu</property>
<property name="tooltip-text">Main Menu</property>
<property name="menu-model">primary_menu</property>
</object>
</child>
Expand All @@ -31,7 +31,7 @@
<property name="margin-bottom">6</property>
<child>
<object class="GtkSearchEntry" id="searchEntry">
<property name="placeholder-text" translatable="yes">Search applications</property>
<property name="placeholder-text">Search applications</property>
<property name="width-request">360</property>
</object>
</child>
Expand All @@ -40,26 +40,26 @@
<property name="orientation">horizontal</property>
<property name="spacing">4</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Filter:</property>
<object class="GtkLabel" id="filterLabel">
<property name="label">Filter:</property>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkDropDown" id="typeFilterDropdown">
<property name="tooltip-text" translatable="yes">Filter by type</property>
<property name="tooltip-text">Filter by type</property>
<property name="model">
<object class="GtkStringList">
<items>
<item translatable="yes">All</item>
<item translatable="yes">Flatpak</item>
<item translatable="yes">Snap</item>
<item translatable="yes">AppImage</item>
<item translatable="yes">System</item>
<item translatable="yes">User</item>
<item translatable="yes">Unknown</item>
<item>All</item>
<item>Flatpak</item>
<item>Snap</item>
<item>AppImage</item>
<item>System</item>
<item>User</item>
<item>Unknown</item>
</items>
</object>
</property>
Expand All @@ -72,21 +72,21 @@
<property name="orientation">horizontal</property>
<property name="spacing">4</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Sort:</property>
<object class="GtkLabel" id="sortLabel">
<property name="label">Sort:</property>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkDropDown" id="sortDropdown">
<property name="tooltip-text" translatable="yes">Sort</property>
<property name="tooltip-text">Sort</property>
<property name="model">
<object class="GtkStringList">
<items>
<item translatable="yes">Name</item>
<item translatable="yes">Size</item>
<item>Name</item>
<item>Size</item>
</items>
</object>
</property>
Expand Down Expand Up @@ -125,27 +125,27 @@
<menu id="primary_menu">
<section>
<item>
<attribute name="label" translatable="yes">_Preferences</attribute>
<attribute name="label">_Preferences</attribute>
<attribute name="action">app.preferences</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Keyboard Shortcuts</attribute>
<attribute name="label">_Keyboard Shortcuts</attribute>
<attribute name="action">app.shortcuts</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">View on _GitHub</attribute>
<attribute name="label">View on _GitHub</attribute>
<attribute name="action">app.github</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Donate</attribute>
<attribute name="label">_Donate</attribute>
<attribute name="action">app.donate</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">_About Terminator</attribute>
<attribute name="label">_About Terminator</attribute>
<attribute name="action">app.about</attribute>
</item>
</section>
Expand Down
1 change: 1 addition & 0 deletions po/LINGUAS
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Please keep this file sorted alphabetically.
ru
6 changes: 4 additions & 2 deletions po/POTFILES.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
data/org.ramez.terminator.desktop.in
data/org.ramez.terminator.metainfo.xml.in
data/org.ramez.terminator.gschema.xml
data/ui/shortcuts-dialog.ui
data/ui/window.ui
src/main.js
src/window.js
src/window.ui
src/managers/index.js
src/ui/window.js
Loading