Skip to content

Commit

Permalink
[minecraftdata] add i18n support for one string
Browse files Browse the repository at this point in the history
  • Loading branch information
fixator10 committed Apr 23, 2019
1 parent 155e071 commit a47b7ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion minecraftdata/locales/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2019-04-20 17:07+0400\n"
"POT-Creation-Date: 2019-04-23 12:43+0400\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"
Expand Down Expand Up @@ -176,6 +176,10 @@ msgstr ""
msgid "%d.%m.%Y %H:%M:%S"
msgstr ""

#: minecraftdata.py:345
msgid "Initial"
msgstr ""

#: minecraftdata.py:349
msgid "Nickname"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion minecraftdata/minecraftdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ async def nicks(self, ctx, current_nick: MCNickname):
nick["changedToAt"] / 1000
).strftime(_("%d.%m.%Y %H:%M:%S"))
except KeyError:
nick["changedToAt"] = "Initial"
nick["changedToAt"] = _("Initial")
table = tabulate.tabulate(
data_history,
headers={
Expand Down

0 comments on commit a47b7ba

Please sign in to comment.