Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add internationalization for this project
Finally, install support for gettext so that Meson can be used to update and compile translation files (.mo). Install the gettext-rs crate in order to use these translations from the Rust application. Updates the .blp files to provide some translations to begin with, and add instructions in regards to how to update the translations in the README.md file.
- Loading branch information
Showing
15 changed files
with
333 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Please, keep this file sorted alphabetically. | ||
# | ||
en | ||
es | ||
eo |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Please, keep this file sorted alphabetically. | ||
# | ||
data/ui/http_header_row.blp | ||
data/ui/main_window.blp |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
# This file is distributed under the same license as the cartero package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: cartero\n" | ||
"Report-Msgid-Bugs-To: https://github.com/danirod/cartero/issues\n" | ||
"POT-Creation-Date: 2024-03-28 18:20+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"Language: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=CHARSET\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: data/ui/main_window.blp:47 | ||
msgid "Send" | ||
msgstr "" | ||
|
||
#: data/ui/main_window.blp:59 data/ui/main_window.blp:103 | ||
msgid "Headers" | ||
msgstr "" | ||
|
||
#: data/ui/main_window.blp:74 data/ui/main_window.blp:118 | ||
msgid "Body" | ||
msgstr "" |
Oops, something went wrong.