Skip to content

Commit

Permalink
Translate message for the case user doesn't grant required permission…
Browse files Browse the repository at this point in the history
… for liff.sendMessages
  • Loading branch information
nonumpa committed Jul 19, 2020
1 parent e99de16 commit 2878a2a
Showing 1 changed file with 36 additions and 30 deletions.
66 changes: 36 additions & 30 deletions i18n/zh_TW.po
Expand Up @@ -6,9 +6,9 @@ msgstr ""
"mime-version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/webhook/index.js:78
#: src/webhook/index.js:81
#. Set default result
#.
#.
msgid "I cannot understand messages other than text."
msgstr "我們還不支援文字以外的訊息唷!"

Expand Down Expand Up @@ -50,19 +50,19 @@ msgstr "出處"
msgid "This reply has no ${ prompt } and it may be biased"
msgstr "此回應沒有${prompt},請自行斟酌回應之可信度。"

#: src/webhook/handlers/choosingArticle.js:130
#: src/webhook/handlers/choosingArticle.js:140
msgid "Volunteer editors has publised several replies to this message."
msgstr "Cofacts 志工對這則訊息發表了多則看法唷!"

#: src/webhook/handlers/choosingArticle.js:251
#: src/webhook/handlers/choosingArticle.js:261
msgid "Let's pick one"
msgstr "選一則來閱讀吧"

#: src/webhook/handlers/choosingArticle.js:231
#: src/webhook/handlers/choosingArticle.js:241
msgid "Take a look"
msgstr "看他怎麼說"

#: src/webhook/handlers/choosingArticle.js:267
#: src/webhook/handlers/choosingArticle.js:277
#, javascript-format
msgid "Visit ${ articleUrl } for more replies."
msgstr "更多回應請到:${ articleUrl }"
Expand Down Expand Up @@ -135,11 +135,11 @@ msgstr "回報此訊息"
msgid "Please choose the most similar message from the list."
msgstr "請從下列選擇您要查的訊息。"

#: src/webhook/handlers/choosingArticle.js:255
#: src/webhook/handlers/choosingArticle.js:265
msgid "Please take a look at the following replies."
msgstr "請從下列選擇您要查看的回應。"

#: src/webhook/handlers/choosingArticle.js:177
#: src/webhook/handlers/choosingArticle.js:187
#, javascript-format
msgid "Someone thinks it ${ typeWords }"
msgstr "有人認為它${typeWords}"
Expand All @@ -148,7 +148,7 @@ msgstr "有人認為它${typeWords}"
msgid "Looks ${ similarityPercentage }% similar"
msgstr "看起來 ${similarityPercentage}% 像"

#: src/webhook/index.js:34
#: src/webhook/index.js:36
msgid ""
"Line bot is busy, or we cannot handle this message. Maybe you can try again "
"a few minutes later."
Expand All @@ -158,30 +158,30 @@ msgstr "不好意思!系統可能在忙線中,無法及時處理您傳的訊
msgid "Wrong usage"
msgstr "這不是這樣用的"

#: src/webhook/index.js:109
#: src/webhook/index.js:112
msgid ""
"You are currently searching for another message, buttons from previous "
"search sessions do not work now."
msgstr "您已經在搜尋新的訊息了,過去查過的訊息的按鈕已經失效囉。"

#: src/webhook/index.js:251
#: src/webhook/index.js:254
msgid ""
"Oops, something is not working. We have cleared your search data, hopefully "
"the error will go away. Would you please send us the message from the start?"
msgstr "抱歉,chatbot 出錯了。我們已經重設您目前的搜尋狀態,以期能自錯誤狀態中復原。請從頭再傳一次您想詢問的訊息。"

#: src/webhook/handlers/askingArticleSubmissionConsent.js:18
#: src/webhook/handlers/askingArticleSubmissionConsent.js:20
#: src/webhook/handlers/askingReplyRequestReason.js:16
#: src/webhook/handlers/initState.js:26
msgid "Please press the latest button to submit message to database."
msgstr "請用最近的按鈕來將訊息送至資料庫。"

#: src/webhook/handlers/askingArticleSubmissionConsent.js:38
#: src/webhook/handlers/askingArticleSubmissionConsent.js:40
#: src/webhook/handlers/askingReplyRequestReason.js:39
msgid "Thanks for the info."
msgstr "感謝您的提供的資訊。"

#: src/webhook/handlers/askingArticleSubmissionConsent.js:57
#: src/webhook/handlers/askingArticleSubmissionConsent.js:64
#, javascript-format
msgid "Your submission is now recorded at ${ articleUrl }"
msgstr "您回報的訊息已經被收錄至 ${ articleUrl }"
Expand Down Expand Up @@ -234,56 +234,56 @@ msgstr "感謝您與其他 ${_otherFeedbackCount} 人的評價。"
msgid "Please press the latest button to provide feedback to reply."
msgstr "請用最近的按鈕來評價此回應。"

#: src/webhook/handlers/choosingArticle.js:42
#: src/webhook/handlers/choosingArticle.js:44
#: src/webhook/handlers/choosingReply.js:18
msgid "Please choose from provided options."
msgstr "請從上面的選項中做選擇。"

#: src/webhook/handlers/choosingArticle.js:134
#: src/webhook/handlers/choosingArticle.js:144
#, javascript-format
msgid "${ countOfType.RUMOR } of them say it ❌ contains misinformation."
msgstr "${ countOfType.RUMOR } 人認為它 ❌ 含有不實訊息。"

#: src/webhook/handlers/choosingArticle.js:137
#: src/webhook/handlers/choosingArticle.js:147
msgid "${ countOfType.NOT_RUMOR } of them says it ⭕ contains true information."
msgstr "${ countOfType.NOT_RUMOR } 人認為它 ⭕ 含有真實訊息。"

#: src/webhook/handlers/choosingArticle.js:142
#: src/webhook/handlers/choosingArticle.js:152
#, javascript-format
msgid ""
"${ countOfType.OPINIONATED } of them says it 💬 contains personal "
"perspective."
msgstr "${ countOfType.OPINIONATED } 人認為它 💬 含有個人意見。"

#: src/webhook/handlers/choosingArticle.js:147
#: src/webhook/handlers/choosingArticle.js:157
msgid "${ countOfType.NOT_ARTICLE } of them says it ⚠️️ is out of scope of Cofacts."
msgstr "${ countOfType.NOT_ARTICLE } 人認為它 ⚠️️ 不在 Cofacts 的查證範圍。"

#: src/webhook/handlers/choosingArticle.js:233
#: src/webhook/handlers/choosingArticle.js:243
#: src/webhook/handlers/initState.js:252
#, javascript-format
msgid "I choose “${ displayTextWhenChosen }”"
msgstr "我要選「${displayTextWhenChosen}」"

#: src/liff/pages/Reason.svelte:80
#: src/liff/pages/Source.svelte:33
#: src/webhook/handlers/choosingArticle.js:282
#: src/webhook/handlers/choosingArticle.js:292
#: src/webhook/handlers/utils.js:410
msgid "Provide more info"
msgstr "提供更多資訊"

#: src/webhook/handlers/choosingArticle.js:286
#: src/webhook/handlers/choosingArticle.js:296
msgid ""
"Unfortunately no one has replied to this message yet. To help Cofacts "
"editors checking the message, please "
msgstr "抱歉這篇訊息還沒有人回應過唷!請闢謠編輯查證,"

#: src/webhook/handlers/choosingArticle.js:290
#: src/webhook/handlers/choosingArticle.js:300
#, javascript-format
msgid "provide more information using “${ btnText }” button. "
msgstr "使用「${btnText}」按鈕來提供更多資訊。"

#: src/webhook/handlers/choosingArticle.js:296
#: src/webhook/handlers/choosingArticle.js:306
msgid ""
"Although you won't receive answers rightaway, you can help the people who "
"receive the same message in the future."
Expand Down Expand Up @@ -327,7 +327,7 @@ msgstr "找不到關於「${ inputSummary }」 的資訊 :("

#: src/liff/lib.js:89
#: src/webhook/handlers/utils.js:122
#. t: Flex message alt-text
#. t: Flex message alt-text
msgid "Please proceed on your mobile phone."
msgstr "請在您的手機上繼續操作。"

Expand Down Expand Up @@ -378,7 +378,7 @@ msgid "Share on Facebook"
msgstr "請教臉書大神"

#: src/webhook/handlers/utils.js:275
#. t: Facebook hash tag
#. t: Facebook hash tag
msgid "ReportedToCofacts"
msgstr "Cofacts求解惑"

Expand Down Expand Up @@ -443,7 +443,7 @@ msgid "Do you have anything to add about the reply?"
msgstr "針對這則回應,有沒有想補充的呢?"

#: src/liff/pages/Reason.svelte:11
#. t: Guidance in LIFF
#. t: Guidance in LIFF
msgid ""
"You may try:\n"
"1. Express your thought more\n"
Expand All @@ -456,7 +456,7 @@ msgstr ""
"3. 把全文複製貼上到 Facebook 搜尋框看看"

#: src/liff/pages/Reason.svelte:17
#. t: Guidance in LIFF
#. t: Guidance in LIFF
#, javascript-format
msgid ""
"It would help fact-checking editors a lot if you provide more info :)\n"
Expand All @@ -474,7 +474,7 @@ msgstr ""
"若要補充資訊,請按「取消」;覺得現在這樣送出就好,請按「確定」。"

#: src/liff/pages/Reason.svelte:24
#. t: Guidance in LIFF
#. t: Guidance in LIFF
msgid ""
"The info you provide should not be identical to the message itself.\n"
"\n"
Expand Down Expand Up @@ -543,7 +543,7 @@ msgid "Cannot get token from URL"
msgstr ""

#: src/liff/lib.js:142
#. t: In LIFF, should not happen
#. t: In LIFF, should not happen
msgid "Unexpected error, no search session data is retrieved."
msgstr ""

Expand Down Expand Up @@ -623,3 +623,9 @@ msgstr ""
#, javascript-format
msgid "If you have a better reply, feel free to submit it to ${ submissionUrl } ."
msgstr "若您認為自己能回應得更好,歡迎到 ${ submissionUrl } 提交新的回應唷!"

#: src/liff/lib.js:231
msgid ""
"Please retry and allow the permission 'send messages to chats', so that you "
"can interact with chatbot while clicking the buttons."
msgstr "請重試一次,並允許‘傳訊息至聊天室’權限,您按下按鈕的時候才能和機器人互動。"

0 comments on commit 2878a2a

Please sign in to comment.