-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rely on builtin meson targets for i10n
- Loading branch information
Showing
7 changed files
with
53 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,6 @@ indent_size = 2 | |
|
||
[{Makefile,**.mk}] | ||
indent_style = tab | ||
|
||
[LINGUAS] | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cs | ||
cs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Czech translations for Commit package. | ||
# Copyright (C) 2021 THE Commit'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the Commit package. | ||
# Czech translations for re.sonny.Commit package. | ||
# Copyright (C) 2021 THE re.sonny.Commit'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the re.sonny.Commit package. | ||
# Vojtěch Perník <[email protected]>, 2021. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Commit\n" | ||
"Project-Id-Version: re.sonny.Commit\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2021-08-11 13:02+0200\n" | ||
"POT-Creation-Date: 2021-08-12 13:08+0200\n" | ||
"PO-Revision-Date: 2021-08-11 13:42+0200\n" | ||
"Last-Translator: Vojtěch Perník <[email protected]>\n" | ||
"Language-Team: Czech <[email protected]>\n" | ||
|
@@ -173,8 +173,8 @@ msgstr "Správné rozpoznání cesty ke spustitelnému souboru" | |
msgid "Message title length hint" | ||
msgstr "Zvýraznění překročení délky titulku" | ||
|
||
#. TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name <https://website.example>' | ||
#: src/about.js:19 | ||
#. TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name https://website.example' | ||
#: src/about.js:18 | ||
msgid "translator-credits" | ||
msgstr "Vojtěch Perník <[email protected]>" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# This file is distributed under the same license as the re.sonny.Commit package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: re.sonny.Commit\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2021-08-11 13:02+0200\n" | ||
"POT-Creation-Date: 2021-08-12 13:08+0200\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -33,19 +33,24 @@ msgid "git;mercurial;hg;scm;" | |
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:12 | ||
msgid "Commit is an editor that helps you write better Git and Mercurial commit messages." | ||
msgid "" | ||
"Commit is an editor that helps you write better Git and Mercurial commit " | ||
"messages." | ||
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:16 | ||
msgid "After installing make sure to launch the application and follow the instructions." | ||
msgid "" | ||
"After installing make sure to launch the application and follow the " | ||
"instructions." | ||
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:20 | ||
msgid "Features:" | ||
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:22 | ||
msgid "Highlights overflow of title when it exceeds 50 characters (customizable)" | ||
msgid "" | ||
"Highlights overflow of title when it exceeds 50 characters (customizable)" | ||
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:26 | ||
|
@@ -65,11 +70,15 @@ msgid "Displays project folder and branch in window header" | |
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:30 | ||
msgid "Dark theme support: the overflow highlight is adjusted according to your theme" | ||
msgid "" | ||
"Dark theme support: the overflow highlight is adjusted according to your " | ||
"theme" | ||
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:34 | ||
msgid "Supports git commit messages, merge messages, tag messages, add -p messages, and rebase -i messages" | ||
msgid "" | ||
"Supports git commit messages, merge messages, tag messages, add -p messages, " | ||
"and rebase -i messages" | ||
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:38 | ||
|
@@ -121,7 +130,9 @@ msgid "Add 6px margin to editor" | |
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:86 | ||
msgid "⚠️ Action required. After updating, please launch the application and follow the instructions." | ||
msgid "" | ||
"⚠️ Action required. After updating, please launch the application and follow " | ||
"the instructions." | ||
msgstr "" | ||
|
||
#: data/re.sonny.Commit.appdata.xml:91 | ||
|
@@ -153,8 +164,8 @@ msgstr "" | |
msgid "Message title length hint" | ||
msgstr "" | ||
|
||
#. TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name <https://website.example>' | ||
#: src/about.js:19 | ||
#. TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name https://website.example' | ||
#: src/about.js:18 | ||
msgid "translator-credits" | ||
msgstr "" | ||
|
||
|
@@ -167,7 +178,8 @@ msgid "Preferences" | |
msgstr "" | ||
|
||
#: src/welcome.ui:58 | ||
msgid "To set Commit as default editor for Git run the following command in Terminal" | ||
msgid "" | ||
"To set Commit as default editor for Git run the following command in Terminal" | ||
msgstr "" | ||
|
||
#: src/welcome.ui:90 src/welcome.ui:172 | ||
|
@@ -179,12 +191,15 @@ msgid "Documentation" | |
msgstr "" | ||
|
||
#: src/welcome.ui:108 | ||
msgid "https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_editor" | ||
msgid "" | ||
"https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_core_editor" | ||
msgstr "" | ||
|
||
#. TRANSLATORS: Don't translate <tt>hgrc</tt> | ||
#: src/welcome.ui:139 | ||
msgid "To set Commit as default editor for Mercurial, set the following in your <tt>hgrc</tt>" | ||
msgid "" | ||
"To set Commit as default editor for Mercurial, set the following in your " | ||
"<tt>hgrc</tt>" | ||
msgstr "" | ||
|
||
#: src/welcome.ui:185 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
import Gtk from "gi://Gtk"; | ||
import { gettext as _ } from 'gettext'; | ||
import { gettext as _ } from "gettext"; | ||
|
||
export default function About({ application, version }) { | ||
// https://gjs-docs.gnome.org/gtk30~3.24.8/gtk.aboutdialog | ||
const dialog = new Gtk.AboutDialog({ | ||
application, | ||
authors: ["Sonny Piers https://sonny.re", "Aral Balkan https://ar.al/"], | ||
comments: _("Commit message editor"), | ||
copyright: | ||
"© 2020-2021 Sonny Piers\n© 2018-2020 Aral balkan", | ||
copyright: "© 2020-2021 Sonny Piers\n© 2018-2020 Aral balkan", | ||
license_type: Gtk.License.GPL_3_0, | ||
version, | ||
website: "https://github.com/sonnyp/Commit", | ||
transient_for: application.get_active_window(), | ||
modal: true, | ||
logo_icon_name: "re.sonny.Commit", | ||
// TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name <https://website.example>' | ||
translator_credits: _('translator-credits') | ||
// TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name https://website.example' | ||
translator_credits: _("translator-credits"), | ||
}); | ||
dialog.add_credit_section("Contributors", [ | ||
// Add yourself as | ||
|