From 31370f3c5bb8c23c804cc54a3c62567d03be424d Mon Sep 17 00:00:00 2001 From: coderkun Date: Thu, 1 May 2014 21:13:17 +0200 Subject: [PATCH] Questtype ?submit?: do not show name of user who approved Character submission to users (Issue #190) --- locale/de_DE/LC_MESSAGES/The Legend of Z.mo | Bin 13505 -> 13565 bytes locale/de_DE/LC_MESSAGES/The Legend of Z.po | 17 +++++++++++------ questtypes/submit/html/quest.tpl | 8 +++++--- questtypes/submit/html/submission.tpl | 2 +- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/locale/de_DE/LC_MESSAGES/The Legend of Z.mo b/locale/de_DE/LC_MESSAGES/The Legend of Z.mo index 0a8a37e0735940506bd501ab5021d1ae79dc8dae..85a73a5b2e1caa065f5b7c625d9d771e2e2ec7f5 100644 GIT binary patch delta 4601 zcmY+_36Pg%0mt!&mE~Sx7vvC?KP<})3mb7GN4uO!VSu25BCHDvLY%sZe^Jx`Lj$=A zj3^#zxVT=&-+~Of8U*XWoG(R zUd^?EQcZ3l%W8#iQ;iV*-oUdV49*Rq4i3S(I4T~G!}=Ug#%4GZJL6LH(F(i~-$tK5 zirM%f=HVYPCxmqPjGdb~@dY-)CR}ZV9kCtuLo1q!x8hvvgsZSA?v2MM&<0#a>uKLO zgnBpt=~EbvwQ&sEzzJBy`@^(&!#ecEo8t|;kT!*VNS&b?`3rw$V}mbXYi!8dJl_Kw zVhP%S@$vW}wBB;G!7I^@Z1pgjE>YPbR^EA@B19>Ncti>_Uu3CgZ1gI72S#sWk>YE z-sp=5M2DhZ#Rzny?m-(e2kk&P`l1zBh^w&|9>Rh61rGE3@6Af_h9|H)?m{a#jW*;T z(aUI0YO_-9c`o{bHt5K8LZ2HGkEfs`_Y~TJ?U=%y*bb|)z2E-@cI??Le3X7>ZP2yQ z8y$g3@wg1zaJ(G-EO$otp>tVw@A8E8u%MSdE>Ds)b_qdh->es;&u#d-?8?>t&h1D3WuPoeh} zq4k!a4IGblY!-T7x||({?s>F=jcCOc@rFa_3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%{Pi^N>rz8nog4n2jf+r_tB>L$m{5qD$AH zf68QNO2seQp|4Rvv_hWePfy8E88T(HUEU4q!F9l-2S3-N?^I zs@&xJzmTe%q&$5twL@*#*|6M|CXB-|#C0zvdkDW^sj`O8vRHo$w~-uT2ey*S%da?C zO)AL@o}Vg%qvCWvP26a1lGJ+Q-Q+vOb-spdB5a#f*}^AF|NpX^+P%a*WO;@>K=zU6 z$aG>!Zs6mawEUXdrHrfR1lS5<_8Bd-dmzNta zJ1C-l73oY~BsD(&HY!&VOBH#9yzT*IbDGq9AFC+_@cArR7Ej&~Er~XYE{I;@DJu69 zN4<#jaKQ&rv3!ptNCB~YpNu4hWE!z7A)`~Z^gm2l)HlZCxj13Nkmhx@J@bk(+RmIg zb=JH@`JCA^6W!(}X3z3-@;p9k$L9~t$?V&|q~D+oRf&Rht#)7HXuaA41=nVD8aq36 Z>*P6!1@W#_3-eQ-;~%K~qHBX@{{!RLs38CV diff --git a/locale/de_DE/LC_MESSAGES/The Legend of Z.po b/locale/de_DE/LC_MESSAGES/The Legend of Z.po index bda0044d..6d5b9788 100644 --- a/locale/de_DE/LC_MESSAGES/The Legend of Z.po +++ b/locale/de_DE/LC_MESSAGES/The Legend of Z.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: The Legend of Z\n" -"POT-Creation-Date: 2014-05-01 14:29+0100\n" -"PO-Revision-Date: 2014-05-01 14:29+0100\n" +"POT-Creation-Date: 2014-05-01 21:12+0100\n" +"PO-Revision-Date: 2014-05-01 21:12+0100\n" "Last-Translator: \n" "Language-Team: \n" "Language: de_DE\n" @@ -87,6 +87,7 @@ msgid "Past submissions" msgstr "Vorherige Lösungen" #: questtypes/submit/html/quest.tpl:33 questtypes/submit/html/submission.tpl:6 +#: views/html/quests/submissions.tpl:15 #, php-format msgid "submitted at %s on %s h" msgstr "eingereicht am %s um %s Uhr" @@ -96,22 +97,26 @@ msgid "This submission is waiting for approval" msgstr "Die Lösung wartet auf Bewertung" #: questtypes/submit/html/quest.tpl:42 +#, php-format +msgid "Approved on %s at %s" +msgstr "Bewertet am %s um %s Uhr" + #: questtypes/submit/html/submission.tpl:12 #, php-format -msgid "Comment from %s on %s at %s" -msgstr "Kommentar von %s am %s um %s Uhr" +msgid "Approved by %s on %s at %s" +msgstr "Bewertet von %s am %s um %s Uhr" #: questtypes/submit/html/submission.tpl:27 msgid "Comment" msgstr "Kommentar" #: questtypes/submit/html/submission.tpl:30 views/html/quests/quest.tpl:45 -#: views/html/quests/submissions.tpl:28 +#: views/html/quests/submissions.tpl:29 msgid "solved" msgstr "Richtig!" #: questtypes/submit/html/submission.tpl:31 views/html/quests/quest.tpl:50 -#: views/html/quests/submissions.tpl:19 +#: views/html/quests/submissions.tpl:20 msgid "unsolved" msgstr "Leider falsch!" diff --git a/questtypes/submit/html/quest.tpl b/questtypes/submit/html/quest.tpl index 6c5de4ba..d8b6b992 100644 --- a/questtypes/submit/html/quest.tpl +++ b/questtypes/submit/html/quest.tpl @@ -27,11 +27,11 @@ 0) : ?>

    - + &$submission) : ?>

  1. format(new \DateTime($submission['created'])), $timeFormatter->format(new \DateTime($submission['created'])))?>
    - + 0) : ?> 0) : ?> @@ -39,9 +39,11 @@
  2. - format(new \DateTime($comment['created'])), $timeFormatter->format(new \DateTime($comment['created'])))?>:
    +

    format(new \DateTime($comment['created'])), $timeFormatter->format(new \DateTime($comment['created'])))?>

    + +
diff --git a/questtypes/submit/html/submission.tpl b/questtypes/submit/html/submission.tpl index da978a66..e985f56e 100644 --- a/questtypes/submit/html/submission.tpl +++ b/questtypes/submit/html/submission.tpl @@ -9,7 +9,7 @@
  • -

    format(new \DateTime($comment['created'])), $timeFormatter->format(new \DateTime($comment['created'])))?>:

    +

    format(new \DateTime($comment['created'])), $timeFormatter->format(new \DateTime($comment['created'])))?>