-
Notifications
You must be signed in to change notification settings - Fork 15
Add Selected gettext method for instant translation #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
BrunoMine
wants to merge
7
commits into
minetest-mods:master
Choose a base branch
from
BrunoMine:selected-gettext
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
da26ea7
Add priority language for load_catalogs method
BrunoMine a5cc263
Add variant methods for gettext and ngettext for selected language
BrunoMine 8f92aed
Update lib script for sgettext and sngettext
BrunoMine ee8ea4b
Fix and Add support for SS and SNS xgettext tools
BrunoMine 4e848b0
Update docs for use SS and SNS methods
BrunoMine 43ca3f2
Update intltest mod for use SS and SNS methods
BrunoMine bca5a72
Fix "SNS" world to "NS"
BrunoMine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,55 @@ | ||
# I18N Test Mod. | ||
# Copyright (C) 2013-2017 Diego Martínez <kaeza@users.sf.net> | ||
# This file is distributed under the same license as the intllib mod. | ||
# Diego Martínez <kaeza@users.sf.net>, 2013-2017. | ||
# Diego Martnez <kaeza@users.sf.net>, 2017. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: I18N Test Mod 0.1.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-07-16 11:41-0300\n" | ||
"PO-Revision-Date: 2017-07-16 11:45-0300\n" | ||
"Last-Translator: Diego Martnez <kaeza@users.sf.net>\n" | ||
"Language-Team: Spanish\n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Gtranslator 2.91.7\n" | ||
|
||
#: init.lua | ||
msgid "Hello, world!" | ||
msgstr "Hallo Welt!" | ||
|
||
#. Translators: @1 is color, @2 is object. | ||
#: init.lua | ||
msgid "Blue" | ||
msgstr "Blau" | ||
|
||
#: init.lua | ||
msgid "Car" | ||
msgstr "Auto" | ||
|
||
#. Translators: @1 is color, @2 is object. | ||
#: init.lua | ||
msgid "Test: @1 @2" | ||
msgstr "Test: @2 @1" | ||
|
||
#. Translators: @1 is use count. | ||
#: init.lua | ||
msgid "Item has been used @1 time." | ||
msgid_plural "Item has been used @1 times." | ||
msgstr[0] "" | ||
msgstr[1] "" | ||
|
||
#: init.lua | ||
msgid "Green" | ||
msgstr "Grün" | ||
|
||
#: init.lua | ||
msgid "Hello, @1 world!" | ||
msgid_plural "Hello, @1 worlds!" | ||
msgstr[0] "Hallo Welt!" | ||
msgstr[1] "Hallo @1 Welten!" |
This file contains hidden or 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 hidden or 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,55 @@ | ||
# I18N Test Mod. | ||
# Copyright (C) 2013-2017 Diego Martínez <kaeza@users.sf.net> | ||
# This file is distributed under the same license as the intllib mod. | ||
# Diego Martínez <kaeza@users.sf.net>, 2013-2017. | ||
# Diego Martnez <kaeza@users.sf.net>, 2017. | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: I18N Test Mod 0.1.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-07-16 11:41-0300\n" | ||
"PO-Revision-Date: 2017-07-16 11:45-0300\n" | ||
"Last-Translator: Diego Martnez <kaeza@users.sf.net>\n" | ||
"Language-Team: Spanish\n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
"X-Generator: Gtranslator 2.91.7\n" | ||
|
||
#: init.lua | ||
msgid "Hello, world!" | ||
msgstr "Ola, mundo!" | ||
|
||
#. Translators: @1 is color, @2 is object. | ||
#: init.lua | ||
msgid "Blue" | ||
msgstr "Azul" | ||
|
||
#: init.lua | ||
msgid "Car" | ||
msgstr "Carro" | ||
|
||
#. Translators: @1 is color, @2 is object. | ||
#: init.lua | ||
msgid "Test: @1 @2" | ||
msgstr "Teste: @2 @1" | ||
|
||
#. Translators: @1 is use count. | ||
#: init.lua | ||
msgid "Item has been used @1 time." | ||
msgid_plural "Item has been used @1 times." | ||
msgstr[0] "Esse objeto foi usado @1 vez." | ||
msgstr[1] "Esse objeto foi usado @2 vezes." | ||
|
||
#: init.lua | ||
msgid "Green" | ||
msgstr "Verde" | ||
|
||
#: init.lua | ||
msgid "Hello, @1 world!" | ||
msgid_plural "Hello, @1 worlds!" | ||
msgstr[0] "Ola, mundo!" | ||
msgstr[1] "Ola, @1 mundos!" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo, should be
NS
.