-
Notifications
You must be signed in to change notification settings - Fork 27
Allow users to programmatically override default i18n strings #91
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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 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 |
---|---|---|
@@ -1,70 +1,71 @@ | ||
# Translations template for botogram. | ||
# Copyright (C) 2016 Pietro Albini <pietro@pietroalbini.io> | ||
# Copyright (C) 2017 Pietro Albini <pietro@pietroalbini.io> | ||
# This file is distributed under the same license as the botogram project. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: botogram 1.0.dev0\n" | ||
"Report-Msgid-Bugs-To: https://github.com/pietroalbini/botogram/issues\n" | ||
"POT-Creation-Date: 2016-03-30 22:31+0200\n" | ||
"POT-Creation-Date: 2017-10-06 19:21+0200\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" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=utf-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Generated-By: Babel 2.1.1\n" | ||
"Generated-By: Babel 2.3.4\n" | ||
|
||
#: botogram/defaults.py:32 | ||
#: botogram/defaults.py:46 | ||
msgid "Use /help to get a list of all the commands." | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:39 | ||
#: botogram/defaults.py:53 | ||
msgid "Start using the bot." | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:40 | ||
#: botogram/defaults.py:54 | ||
msgid "This shows a greeting message." | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:48 | ||
#: botogram/defaults.py:62 | ||
msgid "<b>Error!</b> The <code>/help</code> command allows up to one argument." | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:54 botogram/defaults.py:153 | ||
#: botogram/defaults.py:68 botogram/defaults.py:167 | ||
#, python-format | ||
msgid "<b>Unknown command:</b> <code>/%(name)s</code>" | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:57 botogram/defaults.py:155 | ||
#: botogram/defaults.py:71 botogram/defaults.py:169 | ||
msgid "Use /help to get a list of the commands." | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:78 | ||
#: botogram/defaults.py:93 | ||
msgid "<b>This bot supports those commands:</b>" | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:89 botogram/defaults.py:130 | ||
#: botogram/defaults.py:97 botogram/defaults.py:127 | ||
msgid "No description available." | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:101 botogram/defaults.py:144 | ||
msgid "" | ||
"You can also use <code>/help <command></code> to get help about a " | ||
"specific command." | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:93 | ||
#: botogram/defaults.py:105 | ||
msgid "<i>This bot has no commands.</i>" | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:102 botogram/defaults.py:119 | ||
#: botogram/defaults.py:114 botogram/defaults.py:133 | ||
#, python-format | ||
msgid "Please contact %(owner)s if you have problems with this bot." | ||
msgstr "" | ||
|
||
#: botogram/defaults.py:129 | ||
#: botogram/defaults.py:143 | ||
msgid "Show this help message." | ||
msgstr "" | ||
|
||
#: botogram/utils.py:144 | ||
msgid "No description available." | ||
msgstr "" | ||
|
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
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.
Since it's a new feature it probably will be added in 0.5
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.
Yep, but I'll tweak the changelog myself after merging, don't worry.