mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Added German translation and fixed the issue when the comment gets deleted before it gets sent
This commit is contained in:
parent
08ed53a5a4
commit
53d34ca84a
Binary file not shown.
File diff suppressed because it is too large
Load diff
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-06-02 19:59+0200\n"
|
"POT-Creation-Date: 2019-06-03 01:39+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
|
@ -621,7 +621,7 @@ def embed_formatter(action, change, parsed_comment, categories):
|
||||||
elif action == "curseprofile/comment-created":
|
elif action == "curseprofile/comment-created":
|
||||||
if settings["appearance"]["embed"]["show_edit_changes"]:
|
if settings["appearance"]["embed"]["show_edit_changes"]:
|
||||||
comment_content = pull_comment(change["logparams"]["4:comment_id"])
|
comment_content = pull_comment(change["logparams"]["4:comment_id"])
|
||||||
if comment_content is not None:
|
if comment_content is not None and comment_content:
|
||||||
embed["fields"] = [{"name": _("Comment content"), "value": comment_content["text"]}]
|
embed["fields"] = [{"name": _("Comment content"), "value": comment_content["text"]}]
|
||||||
link = "https://{wiki}.gamepedia.com/Special:CommentPermalink/{commentid}".format(wiki=settings["wiki"],
|
link = "https://{wiki}.gamepedia.com/Special:CommentPermalink/{commentid}".format(wiki=settings["wiki"],
|
||||||
commentid=change["logparams"]["4:comment_id"])
|
commentid=change["logparams"]["4:comment_id"])
|
||||||
|
@ -631,7 +631,7 @@ def embed_formatter(action, change, parsed_comment, categories):
|
||||||
elif action == "curseprofile/comment-replied":
|
elif action == "curseprofile/comment-replied":
|
||||||
if settings["appearance"]["embed"]["show_edit_changes"]:
|
if settings["appearance"]["embed"]["show_edit_changes"]:
|
||||||
comment_content = pull_comment(change["logparams"]["4:comment_id"])
|
comment_content = pull_comment(change["logparams"]["4:comment_id"])
|
||||||
if comment_content is not None:
|
if comment_content is not None and comment_content:
|
||||||
embed["fields"] = [{"name": _("Comment content"), "value": comment_content["text"]}]
|
embed["fields"] = [{"name": _("Comment content"), "value": comment_content["text"]}]
|
||||||
link = "https://{wiki}.gamepedia.com/Special:CommentPermalink/{commentid}".format(wiki=settings["wiki"],
|
link = "https://{wiki}.gamepedia.com/Special:CommentPermalink/{commentid}".format(wiki=settings["wiki"],
|
||||||
commentid=change["logparams"]["4:comment_id"])
|
commentid=change["logparams"]["4:comment_id"])
|
||||||
|
@ -641,7 +641,7 @@ def embed_formatter(action, change, parsed_comment, categories):
|
||||||
elif action == "curseprofile/comment-edited":
|
elif action == "curseprofile/comment-edited":
|
||||||
if settings["appearance"]["embed"]["show_edit_changes"]:
|
if settings["appearance"]["embed"]["show_edit_changes"]:
|
||||||
comment_content = pull_comment(change["logparams"]["4:comment_id"])
|
comment_content = pull_comment(change["logparams"]["4:comment_id"])
|
||||||
if comment_content is not None:
|
if comment_content is not None and comment_content:
|
||||||
embed["fields"] = [{"name": _("Comment content"), "value": comment_content["text"]}]
|
embed["fields"] = [{"name": _("Comment content"), "value": comment_content["text"]}]
|
||||||
link = "https://{wiki}.gamepedia.com/Special:CommentPermalink/{commentid}".format(wiki=settings["wiki"],
|
link = "https://{wiki}.gamepedia.com/Special:CommentPermalink/{commentid}".format(wiki=settings["wiki"],
|
||||||
commentid=change["logparams"]["4:comment_id"])
|
commentid=change["logparams"]["4:comment_id"])
|
||||||
|
|
Loading…
Reference in a new issue