From d79ba00e7d68b840f370c3e1269f6355d22a3e4b Mon Sep 17 00:00:00 2001 From: Krokop Date: Wed, 6 Dec 2017 12:41:28 +0200 Subject: [PATCH 01/29] ungettext doesn't work with undefined vars, need to set default value --- ckanext/issues/templates/snippets/search_result_text.html | 1 + 1 file changed, 1 insertion(+) diff --git a/ckanext/issues/templates/snippets/search_result_text.html b/ckanext/issues/templates/snippets/search_result_text.html index 5a4ea0de..aae88f4e 100644 --- a/ckanext/issues/templates/snippets/search_result_text.html +++ b/ckanext/issues/templates/snippets/search_result_text.html @@ -1,4 +1,5 @@ {% if type == 'issue' %} + {% set count=count if count else 0 %} {% set text_query = ungettext('{number} issue found for "{query}"', '{number} issues found for "{query}"', count) %} {% set text_query_none = _('No issues found for "{query}"') %} {% set text_no_query = ungettext('{number} issue found', '{number} issues found', count) %} From f14848f0815f91515dc8bc0b21529fd740ae2c7a Mon Sep 17 00:00:00 2001 From: Oleg Serbokryl Date: Fri, 23 Mar 2018 15:24:52 +0200 Subject: [PATCH 02/29] add translations (#2) * add translations * updated plugin --- ckanext/issues/i18n/ckanext-issues.pot | 462 +++++++++++++++++ .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo | Bin 0 -> 7475 bytes .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.po | 468 ++++++++++++++++++ ckanext/issues/plugin.py | 12 +- .../templates/issues/email/new_comment.html | 2 +- .../templates/issues/email/new_issue.html | 19 +- setup.cfg | 25 + setup.py | 15 + 8 files changed, 992 insertions(+), 11 deletions(-) create mode 100644 ckanext/issues/i18n/ckanext-issues.pot create mode 100644 ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo create mode 100644 ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po diff --git a/ckanext/issues/i18n/ckanext-issues.pot b/ckanext/issues/i18n/ckanext-issues.pot new file mode 100644 index 00000000..8da087b4 --- /dev/null +++ b/ckanext/issues/i18n/ckanext-issues.pot @@ -0,0 +1,462 @@ +# Translations template for ckanext-issues. +# Copyright (C) 2018 ORGANIZATION +# This file is distributed under the same license as the ckanext-issues project. +# FIRST AUTHOR , 2018. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: ckanext-issues 0.3\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2018-03-20 22:27+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" + +#: ckanext/issues/auth.py:20 +msgid "User {0} not authorized for action on issue {1}" +msgstr "" + +#: ckanext/issues/auth.py:42 +msgid "User {0} not authorized for action" +msgstr "" + +#: ckanext/issues/auth.py:91 +msgid "User {user} not authorized for action on issue {issue}" +msgstr "" + +#: ckanext/issues/controller/controller.py:48 +msgid "Issues have not been enabled for this dataset" +msgstr "" + +#: ckanext/issues/controller/controller.py:51 +#: ckanext/issues/controller/controller.py:69 +msgid "Dataset not found" +msgstr "" + +#: ckanext/issues/controller/controller.py:54 +msgid "Unauthorized to view issues for this dataset" +msgstr "" + +#: ckanext/issues/controller/controller.py:66 +msgid "Issues have not been enabled for this organization" +msgstr "" + +#: ckanext/issues/controller/controller.py:72 +msgid "Unauthorized to view issues for this organization" +msgstr "" + +#: ckanext/issues/controller/controller.py:77 +msgid "Please login to add a new issue" +msgstr "" + +#: ckanext/issues/controller/controller.py:86 +msgid "Not authorized to add a new issue" +msgstr "" + +#: ckanext/issues/controller/controller.py:113 +msgid "Your issue has been registered, thank you for the feedback" +msgstr "" + +#: ckanext/issues/controller/controller.py:131 +#: ckanext/issues/controller/controller.py:134 +msgid "Issue not found: {0}" +msgstr "" + +#: ckanext/issues/controller/controller.py:178 +msgid "Invalid request" +msgstr "" + +#: ckanext/issues/controller/controller.py:190 +msgid "Not authorized" +msgstr "" + +#: ckanext/issues/controller/controller.py:199 +msgid "Comment cannot be empty" +msgstr "" + +#: ckanext/issues/controller/controller.py:215 +msgid "Issue closed" +msgstr "" + +#: ckanext/issues/controller/controller.py:217 +msgid "Issue re-opened" +msgstr "" + +#: ckanext/issues/controller/controller.py:255 +msgid "Unauthorized to delete issue {0}" +msgstr "" + +#: ckanext/issues/controller/controller.py:260 +msgid "Issue {0} has been deleted." +msgstr "" + +#: ckanext/issues/controller/controller.py:278 +msgid "User {0} does not exist" +msgstr "" + +#: ckanext/issues/controller/controller.py:298 +msgid "Assigned to {user}" +msgstr "" + +#: ckanext/issues/controller/controller.py:308 +msgid "Unauthorized to assign users to issue" +msgstr "" + +#: ckanext/issues/controller/controller.py:322 +msgid "You must be logged in to report issues" +msgstr "" + +#: ckanext/issues/controller/controller.py:333 +#: ckanext/issues/controller/controller.py:370 +msgid "Report acknowledged." +msgstr "" + +#: ckanext/issues/controller/controller.py:336 +#: ckanext/issues/controller/controller.py:373 +msgid "Marked as abuse/spam." +msgstr "" + +#: ckanext/issues/controller/controller.py:337 +msgid "Issue is visible." +msgstr "" + +#: ckanext/issues/controller/controller.py:339 +msgid "Issue is invisible to normal users." +msgstr "" + +#: ckanext/issues/controller/controller.py:342 +msgid "Issue reported to an administrator" +msgstr "" + +#: ckanext/issues/controller/controller.py:358 +msgid "You must be logged in to report comments" +msgstr "" + +#: ckanext/issues/controller/controller.py:374 +msgid "Comment is visible." +msgstr "" + +#: ckanext/issues/controller/controller.py:376 +msgid "Comment is invisible to normal users." +msgstr "" + +#: ckanext/issues/controller/controller.py:379 +msgid "Comment has been reported to an administrator" +msgstr "" + +#: ckanext/issues/controller/controller.py:402 +msgid "Issue report cleared" +msgstr "" + +#: ckanext/issues/controller/controller.py:407 +msgid "You must be logged in clear abuse reports" +msgstr "" + +#: ckanext/issues/controller/controller.py:425 +msgid "Spam/abuse report cleared" +msgstr "" + +#: ckanext/issues/controller/controller.py:430 +msgid "You must be logged in to clear abuse reports" +msgstr "" + +#: ckanext/issues/controller/controller.py:447 +#: ckanext/issues/controller/controller.py:487 +msgid "Validation error: {0}" +msgstr "" + +#: ckanext/issues/controller/moderation.py:17 +#: ckanext/issues/controller/moderation.py:76 +msgid "Organization not found" +msgstr "" + +#: ckanext/issues/controller/moderation.py:22 +msgid "You must be logged in to moderate issues" +msgstr "" + +#: ckanext/issues/controller/moderation.py:29 +msgid "Issue permanently hidden" +msgstr "" + +#: ckanext/issues/controller/moderation.py:33 +msgid "All issue reports cleared" +msgstr "" + +#: ckanext/issues/controller/moderation.py:81 +msgid "You must be logged in to moderate comment" +msgstr "" + +#: ckanext/issues/controller/moderation.py:88 +msgid "Comment permanently hidden" +msgstr "" + +#: ckanext/issues/controller/moderation.py:92 +msgid "All comment reports cleared" +msgstr "" + +#: ckanext/issues/controller/show.py:18 +msgid "No description provided" +msgstr "" + +#: ckanext/issues/lib/helpers.py:202 +msgid "[{site_title} Issue] {dataset}" +msgstr "" + +#: ckanext/issues/logic/action/action.py:63 +msgid "Issue does not exist" +msgstr "" + +#: ckanext/issues/logic/action/action.py:83 +msgid "Issue marked as spam/abuse" +msgstr "" + +#: ckanext/issues/logic/action/action.py:554 +msgid "Issue has already been reported by this user" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:13 +msgid "{0} is not a valid status" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:44 +#: ckanext/issues/logic/validators/validators.py:55 +msgid "Not found" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:45 +msgid "Dataset" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:56 +msgid "Organization" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:65 +#: ckanext/issues/logic/validators/validators.py:78 +msgid "Issue not found" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:87 +msgid "Issue Comment not found" +msgstr "" + +#: ckanext/issues/public/scripts/autocomplete-action-api.js:31 +msgid "No matches found" +msgstr "" + +#: ckanext/issues/public/scripts/autocomplete-action-api.js:32 +msgid "Start typing…" +msgstr "" + +#: ckanext/issues/public/scripts/autocomplete-action-api.js:34 +msgid "Input is too short, must be at least one character" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:3 +#: ckanext/issues/templates/issues/add.html:5 +#: ckanext/issues/templates/issues/dataset.html:22 +msgid "New Issue" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:16 +#: ckanext/issues/templates/issues/edit.html:14 +msgid "The form contains invalid entries:" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:27 +#: ckanext/issues/templates/issues/edit.html:25 +msgid "Title" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:28 +#: ckanext/issues/templates/issues/edit.html:26 +msgid "Description" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:28 +#: ckanext/issues/templates/issues/edit.html:26 +msgid "Add a comment" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:33 +#: ckanext/issues/templates/issues/confirm_delete.html:14 +#: ckanext/issues/templates/issues/edit.html:34 +msgid "Cancel" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:35 +msgid "Create" +msgstr "" + +#: ckanext/issues/templates/issues/all_issues.html:5 +#: ckanext/issues/templates/issues/all_issues.html:12 +msgid "All Issues" +msgstr "" + +#: ckanext/issues/templates/issues/base.html:9 +msgid "Datasets" +msgstr "" + +#: ckanext/issues/templates/issues/base_form_page.html:14 +msgid "What are issues?" +msgstr "" + +#: ckanext/issues/templates/issues/base_form_page.html:16 +msgid "

Issues are ... .

" +msgstr "" + +#: ckanext/issues/templates/issues/comment_moderation.html:8 +#: ckanext/issues/templates/issues/moderation.html:8 +msgid "Reported issues" +msgstr "" + +#: ckanext/issues/templates/issues/comment_moderation.html:28 +#: ckanext/issues/templates/issues/moderation.html:28 +#: ckanext/issues/templates/issues/organization_issues.html:11 +msgid "Organizations" +msgstr "" + +#: ckanext/issues/templates/issues/comment_moderation.html:68 +#: ckanext/issues/templates/issues/moderation.html:69 +msgid "Not abuse" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:30 +#: ckanext/issues/templates/issues/organization_issues.html:76 +#, python-format +msgid "%s comments" +msgstr "" + +#: ckanext/issues/templates/issues/confirm_delete.html:3 +#: ckanext/issues/templates/issues/confirm_delete.html:15 +msgid "Confirm Delete" +msgstr "" + +#: ckanext/issues/templates/issues/confirm_delete.html:11 +msgid "Are you sure you want to delete issue - {0}?" +msgstr "" + +#: ckanext/issues/templates/issues/dataset.html:14 +#: ckanext/issues/templates/issues/dataset.html:20 +#: ckanext/issues/templates/issues/organization_issues.html:8 +#: ckanext/issues/templates/issues/organization_issues.html:22 +#: ckanext/issues/templates/issues/show.html:13 +msgid "Issues" +msgstr "" + +#: ckanext/issues/templates/issues/dataset.html:26 +#: ckanext/issues/templates/issues/organization_issues.html:27 +msgid "Search issues..." +msgstr "" + +#: ckanext/issues/templates/issues/dataset.html:28 +#: ckanext/issues/templates/issues/organization_issues.html:29 +#: ckanext/issues/templates/snippets/search_result_text.html:5 +msgid "{number} issue found" +msgid_plural "{number} issues found" +msgstr[0] "" +msgstr[1] "" + +#: ckanext/issues/templates/issues/dataset.html:38 +msgid "No issues" +msgstr "" + +#: ckanext/issues/templates/issues/edit.html:3 +#: ckanext/issues/templates/issues/edit.html:5 +msgid "Edit Issue" +msgstr "" + +#: ckanext/issues/templates/issues/edit.html:36 +msgid "Update" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:125 +msgid "Not spam/abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:174 +msgid "{number} comment" +msgid_plural "{number} comments" +msgstr[0] "" +msgstr[1] "" + +#: ckanext/issues/templates/issues/show.html:208 +msgid "Are you sure you want to delete this issue?" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:209 +msgid "Delete" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:214 +msgid "Close" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:218 +msgid "Re-open" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:224 +msgid "Comment" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:231 +msgid "Login to comment" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:256 +msgid "This issue has been assigned to an administrator for the publisher" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:258 +msgid "No one" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:279 +msgid "Assign" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_comment.html:4 +#: ckanext/issues/templates/issues/email/new_issue.html:4 +msgid "The dataset is: " +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:2 +msgid "On" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:2 +msgid "a user has raised an issue with one of the datasets from organization" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:5 +msgid "The issue is:" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:10 +msgid "Please correct the problem or add an initial comment about the issue at: " +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:12 +msgid "Thank you," +msgstr "" + +#: ckanext/issues/templates/snippets/search_result_text.html:3 +msgid "{number} issue found for \"{query}\"" +msgid_plural "{number} issues found for \"{query}\"" +msgstr[0] "" +msgstr[1] "" + +#: ckanext/issues/templates/snippets/search_result_text.html:4 +msgid "No issues found for \"{query}\"" +msgstr "" + +#: ckanext/issues/templates/snippets/search_result_text.html:6 +msgid "No issues found" +msgstr "" + diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo new file mode 100644 index 0000000000000000000000000000000000000000..8cc18b9524cfc86609c23b988caebddc41a566f0 GIT binary patch literal 7475 zcmeI0TWnlM8Gwgg2z9uG-Y9J$la!=MlU=Xvs6-pvi5)xCU?;(`3y4cO-ZS=|c=w#m zIcMWKj@2fpfC{JxsE8={ONDr#p(s2=6cqs?LR>a#kq{CEaT7e0he+iC1mgSW%&ymN zLL$KfLXK>IXXgAf^Ur@fGkNa%YaUhno96d+en+pC*3!S@FIDQbG#BAo_(}K*_$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fs-nc*j#q*0BMY`&xr83cxMK2u$ z9sQ}!oMoTtDFGTBvkUQ})fCk|TaiLkv>Mo<&AHNcw;u@Af%eU}H`=1Ny*p6{B@sx1 zD2`2u%2YP8X&g}1*x#-llI%emkl@Yw=S@ZAmdIL_w3iljbEZnus((Zf{eC>_LAm7RpC7lgKs*_@{&#eqqRRwUaMBWOup+S1;NV$YV|i$}e6zcpfg zsuCn+(t9FED@IL*E4*qa$x5bp*{<;-sbyaY$=a3E91WUrApy1`VXjDcS-woxFc->F zmZV7N6=ki}FSVp?Ke93j} zqd2Q+Z!1&T`66fYC%e@<`1Cf5K7mQ75zATRWa-!ZU|&K~Du;aIuT;1i`G!xW7BwIGChApwo0_;mp3(I@6PP^r$8ogY^73vi- z2jl24^)WZ%=kDc@L!=jVX_k}B{b|mvSIGBtWMwQjmdpfxZm>R+, 2018. +# +msgid "" +msgstr "" +"Project-Id-Version: ckanext-issues 0.3\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2018-03-20 22:27+0000\n" +"PO-Revision-Date: 2018-03-20 22:22+0000\n" +"Last-Translator: FULL NAME \n" +"Language: uk_UA\n" +"Language-Team: uk_UA \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.3.4\n" + +#: ckanext/issues/auth.py:20 +msgid "User {0} not authorized for action on issue {1}" +msgstr "" + +#: ckanext/issues/auth.py:42 +msgid "User {0} not authorized for action" +msgstr "" + +#: ckanext/issues/auth.py:91 +msgid "User {user} not authorized for action on issue {issue}" +msgstr "" + +#: ckanext/issues/controller/controller.py:48 +msgid "Issues have not been enabled for this dataset" +msgstr "" + +#: ckanext/issues/controller/controller.py:51 +#: ckanext/issues/controller/controller.py:69 +msgid "Dataset not found" +msgstr "" + +#: ckanext/issues/controller/controller.py:54 +msgid "Unauthorized to view issues for this dataset" +msgstr "" + +#: ckanext/issues/controller/controller.py:66 +msgid "Issues have not been enabled for this organization" +msgstr "" + +#: ckanext/issues/controller/controller.py:72 +msgid "Unauthorized to view issues for this organization" +msgstr "" + +#: ckanext/issues/controller/controller.py:77 +msgid "Please login to add a new issue" +msgstr "" + +#: ckanext/issues/controller/controller.py:86 +msgid "Not authorized to add a new issue" +msgstr "" + +#: ckanext/issues/controller/controller.py:113 +msgid "Your issue has been registered, thank you for the feedback" +msgstr "" + +#: ckanext/issues/controller/controller.py:131 +#: ckanext/issues/controller/controller.py:134 +msgid "Issue not found: {0}" +msgstr "" + +#: ckanext/issues/controller/controller.py:178 +msgid "Invalid request" +msgstr "" + +#: ckanext/issues/controller/controller.py:190 +msgid "Not authorized" +msgstr "" + +#: ckanext/issues/controller/controller.py:199 +msgid "Comment cannot be empty" +msgstr "" + +#: ckanext/issues/controller/controller.py:215 +msgid "Issue closed" +msgstr "" + +#: ckanext/issues/controller/controller.py:217 +msgid "Issue re-opened" +msgstr "" + +#: ckanext/issues/controller/controller.py:255 +msgid "Unauthorized to delete issue {0}" +msgstr "" + +#: ckanext/issues/controller/controller.py:260 +msgid "Issue {0} has been deleted." +msgstr "" + +#: ckanext/issues/controller/controller.py:278 +msgid "User {0} does not exist" +msgstr "" + +#: ckanext/issues/controller/controller.py:298 +msgid "Assigned to {user}" +msgstr "" + +#: ckanext/issues/controller/controller.py:308 +msgid "Unauthorized to assign users to issue" +msgstr "" + +#: ckanext/issues/controller/controller.py:322 +msgid "You must be logged in to report issues" +msgstr "" + +#: ckanext/issues/controller/controller.py:333 +#: ckanext/issues/controller/controller.py:370 +msgid "Report acknowledged." +msgstr "" + +#: ckanext/issues/controller/controller.py:336 +#: ckanext/issues/controller/controller.py:373 +msgid "Marked as abuse/spam." +msgstr "" + +#: ckanext/issues/controller/controller.py:337 +msgid "Issue is visible." +msgstr "" + +#: ckanext/issues/controller/controller.py:339 +msgid "Issue is invisible to normal users." +msgstr "" + +#: ckanext/issues/controller/controller.py:342 +msgid "Issue reported to an administrator" +msgstr "" + +#: ckanext/issues/controller/controller.py:358 +msgid "You must be logged in to report comments" +msgstr "" + +#: ckanext/issues/controller/controller.py:374 +msgid "Comment is visible." +msgstr "" + +#: ckanext/issues/controller/controller.py:376 +msgid "Comment is invisible to normal users." +msgstr "" + +#: ckanext/issues/controller/controller.py:379 +msgid "Comment has been reported to an administrator" +msgstr "" + +#: ckanext/issues/controller/controller.py:402 +msgid "Issue report cleared" +msgstr "" + +#: ckanext/issues/controller/controller.py:407 +msgid "You must be logged in clear abuse reports" +msgstr "" + +#: ckanext/issues/controller/controller.py:425 +msgid "Spam/abuse report cleared" +msgstr "" + +#: ckanext/issues/controller/controller.py:430 +msgid "You must be logged in to clear abuse reports" +msgstr "" + +#: ckanext/issues/controller/controller.py:447 +#: ckanext/issues/controller/controller.py:487 +msgid "Validation error: {0}" +msgstr "" + +#: ckanext/issues/controller/moderation.py:17 +#: ckanext/issues/controller/moderation.py:76 +msgid "Organization not found" +msgstr "" + +#: ckanext/issues/controller/moderation.py:22 +msgid "You must be logged in to moderate issues" +msgstr "" + +#: ckanext/issues/controller/moderation.py:29 +msgid "Issue permanently hidden" +msgstr "" + +#: ckanext/issues/controller/moderation.py:33 +msgid "All issue reports cleared" +msgstr "" + +#: ckanext/issues/controller/moderation.py:81 +msgid "You must be logged in to moderate comment" +msgstr "" + +#: ckanext/issues/controller/moderation.py:88 +msgid "Comment permanently hidden" +msgstr "" + +#: ckanext/issues/controller/moderation.py:92 +msgid "All comment reports cleared" +msgstr "" + +#: ckanext/issues/controller/show.py:18 +msgid "No description provided" +msgstr "" + +#: ckanext/issues/lib/helpers.py:202 +msgid "[{site_title} Issue] {dataset}" +msgstr "" + +#: ckanext/issues/logic/action/action.py:63 +msgid "Issue does not exist" +msgstr "" + +#: ckanext/issues/logic/action/action.py:83 +msgid "Issue marked as spam/abuse" +msgstr "" + +#: ckanext/issues/logic/action/action.py:554 +msgid "Issue has already been reported by this user" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:13 +msgid "{0} is not a valid status" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:44 +#: ckanext/issues/logic/validators/validators.py:55 +msgid "Not found" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:45 +msgid "Dataset" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:56 +msgid "Organization" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:65 +#: ckanext/issues/logic/validators/validators.py:78 +msgid "Issue not found" +msgstr "" + +#: ckanext/issues/logic/validators/validators.py:87 +msgid "Issue Comment not found" +msgstr "" + +#: ckanext/issues/public/scripts/autocomplete-action-api.js:31 +msgid "No matches found" +msgstr "" + +#: ckanext/issues/public/scripts/autocomplete-action-api.js:32 +msgid "Start typing…" +msgstr "" + +#: ckanext/issues/public/scripts/autocomplete-action-api.js:34 +msgid "Input is too short, must be at least one character" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:3 +#: ckanext/issues/templates/issues/add.html:5 +#: ckanext/issues/templates/issues/dataset.html:22 +msgid "New Issue" +msgstr "Нова скарга" + +#: ckanext/issues/templates/issues/add.html:16 +#: ckanext/issues/templates/issues/edit.html:14 +msgid "The form contains invalid entries:" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:27 +#: ckanext/issues/templates/issues/edit.html:25 +msgid "Title" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:28 +#: ckanext/issues/templates/issues/edit.html:26 +msgid "Description" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:28 +#: ckanext/issues/templates/issues/edit.html:26 +msgid "Add a comment" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:33 +#: ckanext/issues/templates/issues/confirm_delete.html:14 +#: ckanext/issues/templates/issues/edit.html:34 +msgid "Cancel" +msgstr "" + +#: ckanext/issues/templates/issues/add.html:35 +msgid "Create" +msgstr "" + +#: ckanext/issues/templates/issues/all_issues.html:5 +#: ckanext/issues/templates/issues/all_issues.html:12 +msgid "All Issues" +msgstr "" + +#: ckanext/issues/templates/issues/base.html:9 +msgid "Datasets" +msgstr "" + +#: ckanext/issues/templates/issues/base_form_page.html:14 +msgid "What are issues?" +msgstr "" + +#: ckanext/issues/templates/issues/base_form_page.html:16 +msgid "

Issues are ... .

" +msgstr "" + +#: ckanext/issues/templates/issues/comment_moderation.html:8 +#: ckanext/issues/templates/issues/moderation.html:8 +msgid "Reported issues" +msgstr "" + +#: ckanext/issues/templates/issues/comment_moderation.html:28 +#: ckanext/issues/templates/issues/moderation.html:28 +#: ckanext/issues/templates/issues/organization_issues.html:11 +msgid "Organizations" +msgstr "" + +#: ckanext/issues/templates/issues/comment_moderation.html:68 +#: ckanext/issues/templates/issues/moderation.html:69 +msgid "Not abuse" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:30 +#: ckanext/issues/templates/issues/organization_issues.html:76 +#, python-format +msgid "%s comments" +msgstr "" + +#: ckanext/issues/templates/issues/confirm_delete.html:3 +#: ckanext/issues/templates/issues/confirm_delete.html:15 +msgid "Confirm Delete" +msgstr "" + +#: ckanext/issues/templates/issues/confirm_delete.html:11 +msgid "Are you sure you want to delete issue - {0}?" +msgstr "" + +#: ckanext/issues/templates/issues/dataset.html:14 +#: ckanext/issues/templates/issues/dataset.html:20 +#: ckanext/issues/templates/issues/organization_issues.html:8 +#: ckanext/issues/templates/issues/organization_issues.html:22 +#: ckanext/issues/templates/issues/show.html:13 +msgid "Issues" +msgstr "" + +#: ckanext/issues/templates/issues/dataset.html:26 +#: ckanext/issues/templates/issues/organization_issues.html:27 +msgid "Search issues..." +msgstr "" + +#: ckanext/issues/templates/issues/dataset.html:28 +#: ckanext/issues/templates/issues/organization_issues.html:29 +#: ckanext/issues/templates/snippets/search_result_text.html:5 +msgid "{number} issue found" +msgid_plural "{number} issues found" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: ckanext/issues/templates/issues/dataset.html:38 +msgid "No issues" +msgstr "" + +#: ckanext/issues/templates/issues/edit.html:3 +#: ckanext/issues/templates/issues/edit.html:5 +msgid "Edit Issue" +msgstr "" + +#: ckanext/issues/templates/issues/edit.html:36 +msgid "Update" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:125 +msgid "Not spam/abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:174 +msgid "{number} comment" +msgid_plural "{number} comments" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: ckanext/issues/templates/issues/show.html:208 +msgid "Are you sure you want to delete this issue?" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:209 +msgid "Delete" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:214 +msgid "Close" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:218 +msgid "Re-open" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:224 +msgid "Comment" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:231 +msgid "Login to comment" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:256 +msgid "This issue has been assigned to an administrator for the publisher" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:258 +msgid "No one" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:279 +msgid "Assign" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_comment.html:4 +#: ckanext/issues/templates/issues/email/new_issue.html:4 +msgid "The dataset is: " +msgstr "Датасет це" + +#: ckanext/issues/templates/issues/email/new_issue.html:2 +msgid "On" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:2 +msgid "a user has raised an issue with one of the datasets from organization" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:5 +msgid "The issue is:" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:10 +msgid "Please correct the problem or add an initial comment about the issue at: " +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:12 +msgid "Thank you," +msgstr "" + +#: ckanext/issues/templates/snippets/search_result_text.html:3 +msgid "{number} issue found for \"{query}\"" +msgid_plural "{number} issues found for \"{query}\"" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + +#: ckanext/issues/templates/snippets/search_result_text.html:4 +msgid "No issues found for \"{query}\"" +msgstr "" + +#: ckanext/issues/templates/snippets/search_result_text.html:6 +msgid "No issues found" +msgstr "" + diff --git a/ckanext/issues/plugin.py b/ckanext/issues/plugin.py index e3688bc9..9b8ed1d5 100644 --- a/ckanext/issues/plugin.py +++ b/ckanext/issues/plugin.py @@ -10,7 +10,17 @@ # Imports are done in methods to speed up paster. # Please don't move back up to here. -class IssuesPlugin(p.SingletonPlugin): +if toolkit.check_ckan_version(min_version='2.5'): + from ckan.lib.plugins import DefaultTranslation + + class IssuesPluginBase(p.SingletonPlugin, DefaultTranslation): + p.implements(p.ITranslation, inherit=True) +else: + class IssuesPluginBase(p.SingletonPlugin): + pass + + +class IssuesPlugin(IssuesPluginBase): """ CKAN Issues Extension """ diff --git a/ckanext/issues/templates/issues/email/new_comment.html b/ckanext/issues/templates/issues/email/new_comment.html index 7c966e0e..67dd2246 100644 --- a/ckanext/issues/templates/issues/email/new_comment.html +++ b/ckanext/issues/templates/issues/email/new_comment.html @@ -1,7 +1,7 @@ A user '{{ user.fullname }}' has added a comment to one of your issues on {{ site_title }}. -The dataset is: {{ dataset.title }} +{% trans %}The dataset is: {% endtrans %}{{ dataset.title }} The issue is: {{ issue_subject }} The comment is: diff --git a/ckanext/issues/templates/issues/email/new_issue.html b/ckanext/issues/templates/issues/email/new_issue.html index 12eedb38..64958d81 100644 --- a/ckanext/issues/templates/issues/email/new_issue.html +++ b/ckanext/issues/templates/issues/email/new_issue.html @@ -1,19 +1,20 @@ -On {{ site_title }} a user has raised an issue with one of the datasets from organization '{{ recipient.organization_title }}', for which you are an {{ recipient.capacity }}.' for which you are an {{ capacity }}. -The dataset is: {{ dataset.title }} -The issue is: +{% trans %}On{% endtrans %} {{ site_title }} {% trans %}a user has raised an issue with one of the datasets from organization{% endtrans %} '{{ recipient.organization_title }}', for which you are an {{ recipient.capacity }}.' for which you are an {{ capacity }}. + +{% trans %}The dataset is: {% endtrans %}{{ dataset.title }} +{% trans %}The issue is:{% endtrans %} > {{ issue_subject|wordwrap(width=76)|replace('\n', '\n> '|safe) }} > {{ issue.description|wordwrap(width=76)|replace('\n', '\n> '|safe) }} -Please correct the problem or add an initial comment about the issue at: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. Once the issue has been resolved, click 'Close issue'. +{% trans %}Please correct the problem or add an initial comment about the issue at: {% endtrans %}{{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. Once the issue has been resolved, click 'Close issue'. -Thank you, +{% trans %}Thank you,{% endtrans %} -The {{ site_title }} team +{% trans %}The{% endtrans %} {{ site_title }} {% trans %}team{% endtrans %} -- -Issue: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }} -Dataset: {{ h.url_for('dataset_read', id=dataset.name, qualified=True) }} -User: {{ user.fullname or user.name }} \ No newline at end of file +{% trans %}Issue:{% endtrans %} {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }} +{% trans %}Dataset:{% endtrans %} {{ h.url_for('dataset_read', id=dataset.name, qualified=True) }} +{% trans %}User:{% endtrans %} {{ user.fullname or user.name }} \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index a7aa1543..f1afd8b7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,27 @@ [nosetests] with-pylons=test.ini + +[extract_messages] +keywords = translate isPlural +add_comments = TRANSLATORS: +output_file = ckanext/issues/i18n/ckanext-issues.pot +width = 80 + +[init_catalog] +domain = ckanext-issues +input_file = ckanext/issues/i18n/ckanext-issues.pot +output_dir = ckanext/issues/i18n + +[update_catalog] +domain = ckanext-issues +input_file = ckanext/issues/i18n/ckanext-issues.pot +output_dir = ckanext/issues/i18n +previous = true + +[compile_catalog] +domain = ckanext-issues +directory = ckanext/issues/i18n +statistics = true + +[upload_sphinx] +upload-dir = build/sphinx/html \ No newline at end of file diff --git a/setup.py b/setup.py index 24a48784..b5b5b103 100644 --- a/setup.py +++ b/setup.py @@ -30,5 +30,20 @@ [paste.paster_command] issues = ckanext.issues.commands:Issues + + [babel.extractors] + ckan = ckan.lib.extract:extract_ckan """, + # If you are changing from the default layout of your extension, you may + # have to change the message extractors, you can read more about babel + # message extraction at + # http://babel.pocoo.org/docs/messages/#extraction-method-mapping-and-configuration + message_extractors={ + 'ckanext': [ + ('**.py', 'python', None), + ('**.js', 'javascript', None), + ('**/templates/**.html', 'ckan', None), + ], + } ) + From 181889ef1afdaa488bba58a3c40018f5a2b16cb4 Mon Sep 17 00:00:00 2001 From: ivankin Date: Mon, 26 Mar 2018 12:14:38 +0000 Subject: [PATCH 03/29] add translations --- .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.po | 317 ++++++++++++------ 1 file changed, 209 insertions(+), 108 deletions(-) diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po index ac8afd50..011c091b 100644 --- a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po +++ b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: ckanext-issues 0.3\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-03-20 22:27+0000\n" +"POT-Creation-Date: 2018-03-23 03:51+0000\n" "PO-Revision-Date: 2018-03-20 22:22+0000\n" "Last-Translator: FULL NAME \n" "Language: uk_UA\n" @@ -22,243 +22,325 @@ msgstr "" #: ckanext/issues/auth.py:20 msgid "User {0} not authorized for action on issue {1}" -msgstr "" +msgstr "Користувач {0} не авторизований для роботи" + + + + + #: ckanext/issues/auth.py:42 msgid "User {0} not authorized for action" -msgstr "" +msgstr "Користувач {0} не авторизований для роботи" + + #: ckanext/issues/auth.py:91 msgid "User {user} not authorized for action on issue {issue}" -msgstr "" +msgstr "Користувач {user} не авторизований для роботи зі скаргами {issue}" + + + #: ckanext/issues/controller/controller.py:48 msgid "Issues have not been enabled for this dataset" -msgstr "" +msgstr "Скарги недоступні для цього набору даних" + + #: ckanext/issues/controller/controller.py:51 #: ckanext/issues/controller/controller.py:69 msgid "Dataset not found" -msgstr "" +msgstr "Набір даних не знайдено" + + #: ckanext/issues/controller/controller.py:54 msgid "Unauthorized to view issues for this dataset" -msgstr "" +msgstr "Немає доступу для перегляду скарг на цей набір даних" + + #: ckanext/issues/controller/controller.py:66 msgid "Issues have not been enabled for this organization" -msgstr "" +msgstr "Скарги недоступні для цієї організації" + #: ckanext/issues/controller/controller.py:72 msgid "Unauthorized to view issues for this organization" -msgstr "" +msgstr "Немає доступу для перегляду скарг на цю організацію" + #: ckanext/issues/controller/controller.py:77 msgid "Please login to add a new issue" -msgstr "" +msgstr "Будь ласка, увійдіть, щоб додати нову скаргу" + #: ckanext/issues/controller/controller.py:86 msgid "Not authorized to add a new issue" -msgstr "" +msgstr "Немає доступу для додавання нової скарги" + + + #: ckanext/issues/controller/controller.py:113 msgid "Your issue has been registered, thank you for the feedback" -msgstr "" +msgstr "Ваша скарга була зареєстрована, дякуємо за зворотній зв'язок" + + #: ckanext/issues/controller/controller.py:131 #: ckanext/issues/controller/controller.py:134 msgid "Issue not found: {0}" -msgstr "" +msgstr "Скарга не знайдена : {0}" + + #: ckanext/issues/controller/controller.py:178 msgid "Invalid request" -msgstr "" +msgstr "Запит невірний" + + #: ckanext/issues/controller/controller.py:190 msgid "Not authorized" -msgstr "" +msgstr "Немає доступу" + #: ckanext/issues/controller/controller.py:199 msgid "Comment cannot be empty" -msgstr "" +msgstr "Поле \"Комментар\" не може бути порожнім" + + #: ckanext/issues/controller/controller.py:215 msgid "Issue closed" -msgstr "" +msgstr "Скарга закрита" + + #: ckanext/issues/controller/controller.py:217 msgid "Issue re-opened" -msgstr "" +msgstr "Скарга знову відкрита" + + #: ckanext/issues/controller/controller.py:255 msgid "Unauthorized to delete issue {0}" -msgstr "" +msgstr "Немає доступу, щоб видалити скаргу {0}" + + #: ckanext/issues/controller/controller.py:260 msgid "Issue {0} has been deleted." -msgstr "" +msgstr "Скарга {0} була видалена" + + #: ckanext/issues/controller/controller.py:278 msgid "User {0} does not exist" -msgstr "" +msgstr "Користувача {0} не існує" + + #: ckanext/issues/controller/controller.py:298 msgid "Assigned to {user}" -msgstr "" +msgstr "Закріплена за {user}" + + #: ckanext/issues/controller/controller.py:308 msgid "Unauthorized to assign users to issue" -msgstr "" +msgstr "Немає доступу для закріплення користувачів до скарги" + + #: ckanext/issues/controller/controller.py:322 msgid "You must be logged in to report issues" -msgstr "" +msgstr "Ви повинні увійти, щоб подати скарги" + + #: ckanext/issues/controller/controller.py:333 #: ckanext/issues/controller/controller.py:370 msgid "Report acknowledged." -msgstr "" +msgstr "Звіт підтверджено" + + #: ckanext/issues/controller/controller.py:336 #: ckanext/issues/controller/controller.py:373 msgid "Marked as abuse/spam." -msgstr "" +msgstr "Позначено як образу/спам" + + #: ckanext/issues/controller/controller.py:337 msgid "Issue is visible." -msgstr "" +msgstr "Скарга видима" + + #: ckanext/issues/controller/controller.py:339 msgid "Issue is invisible to normal users." -msgstr "" +msgstr "Скарга невидима для простих користувачів" + + #: ckanext/issues/controller/controller.py:342 msgid "Issue reported to an administrator" -msgstr "" +msgstr "Скарга була направлена до адміністратора" + + #: ckanext/issues/controller/controller.py:358 msgid "You must be logged in to report comments" -msgstr "" +msgstr "Ви повинні бути авторизовані, щоб поскаржитися на коментар" + + #: ckanext/issues/controller/controller.py:374 msgid "Comment is visible." -msgstr "" +msgstr "Коментар видимий" + + #: ckanext/issues/controller/controller.py:376 msgid "Comment is invisible to normal users." -msgstr "" +msgstr "Коментар невидимий для простих користувачів" + + #: ckanext/issues/controller/controller.py:379 msgid "Comment has been reported to an administrator" -msgstr "" +msgstr "Коментар був направлений до адміністратора" + + #: ckanext/issues/controller/controller.py:402 msgid "Issue report cleared" -msgstr "" +msgstr "Скарга була розглянута" + + #: ckanext/issues/controller/controller.py:407 msgid "You must be logged in clear abuse reports" -msgstr "" +msgstr "Ви повинні бути авторизовані, щоб розглянути скаргу" + + #: ckanext/issues/controller/controller.py:425 msgid "Spam/abuse report cleared" -msgstr "" +msgstr "Спам/скарга на образу були розглянуті" + + #: ckanext/issues/controller/controller.py:430 msgid "You must be logged in to clear abuse reports" -msgstr "" +msgstr "Ви повинні бути авторизовані, щоб розглянути скаргу" + + + #: ckanext/issues/controller/controller.py:447 #: ckanext/issues/controller/controller.py:487 msgid "Validation error: {0}" -msgstr "" +msgstr "Помилка перевірки: {0}" + + #: ckanext/issues/controller/moderation.py:17 #: ckanext/issues/controller/moderation.py:76 msgid "Organization not found" -msgstr "" +msgstr "Організація не знайдена" + + #: ckanext/issues/controller/moderation.py:22 msgid "You must be logged in to moderate issues" -msgstr "" +msgstr "Ви повинні бути авторизовані, щоб модерувати скарги" + + #: ckanext/issues/controller/moderation.py:29 msgid "Issue permanently hidden" -msgstr "" +msgstr "Скаргу приховано назавжди" + + #: ckanext/issues/controller/moderation.py:33 msgid "All issue reports cleared" -msgstr "" +msgstr "Усі скарги розглянуті" #: ckanext/issues/controller/moderation.py:81 msgid "You must be logged in to moderate comment" -msgstr "" +msgstr "Ви повинні авторизуватися для модеруваня коментаря" #: ckanext/issues/controller/moderation.py:88 msgid "Comment permanently hidden" -msgstr "" +msgstr "Коментар приховано назавжди" #: ckanext/issues/controller/moderation.py:92 msgid "All comment reports cleared" -msgstr "" +msgstr "Всі коментарі до скарг розглянуто" #: ckanext/issues/controller/show.py:18 msgid "No description provided" -msgstr "" +msgstr "Опису немає" #: ckanext/issues/lib/helpers.py:202 msgid "[{site_title} Issue] {dataset}" -msgstr "" +msgstr "[{site_title} Скарга] {dataset}" #: ckanext/issues/logic/action/action.py:63 msgid "Issue does not exist" -msgstr "" +msgstr "Скарги не існує" #: ckanext/issues/logic/action/action.py:83 msgid "Issue marked as spam/abuse" -msgstr "" +msgstr "Скарга помічена як спам/образа" #: ckanext/issues/logic/action/action.py:554 msgid "Issue has already been reported by this user" -msgstr "" +msgstr "Скарга вже була подана цим користувачем" #: ckanext/issues/logic/validators/validators.py:13 msgid "{0} is not a valid status" -msgstr "" +msgstr "{0} невірний статус" #: ckanext/issues/logic/validators/validators.py:44 #: ckanext/issues/logic/validators/validators.py:55 msgid "Not found" -msgstr "" +msgstr "Не знайдено" #: ckanext/issues/logic/validators/validators.py:45 msgid "Dataset" -msgstr "" +msgstr "Набір даних" #: ckanext/issues/logic/validators/validators.py:56 msgid "Organization" -msgstr "" +msgstr "Організація" #: ckanext/issues/logic/validators/validators.py:65 #: ckanext/issues/logic/validators/validators.py:78 msgid "Issue not found" -msgstr "" +msgstr "Скарга не знайдена" #: ckanext/issues/logic/validators/validators.py:87 msgid "Issue Comment not found" -msgstr "" +msgstr "Коментар до скарги не знайдений" #: ckanext/issues/public/scripts/autocomplete-action-api.js:31 msgid "No matches found" -msgstr "" +msgstr "Співпадінь немає" #: ckanext/issues/public/scripts/autocomplete-action-api.js:32 -msgid "Start typing…" -msgstr "" +msgid "Start typing…" +msgstr "Почати" #: ckanext/issues/public/scripts/autocomplete-action-api.js:34 msgid "Input is too short, must be at least one character" -msgstr "" +msgstr "Ввід занадто короткий, має бути щонайменьше один знак" #: ckanext/issues/templates/issues/add.html:3 #: ckanext/issues/templates/issues/add.html:5 @@ -269,80 +351,80 @@ msgstr "Нова скарга" #: ckanext/issues/templates/issues/add.html:16 #: ckanext/issues/templates/issues/edit.html:14 msgid "The form contains invalid entries:" -msgstr "" +msgstr "Форма містить неправильні знаки" #: ckanext/issues/templates/issues/add.html:27 #: ckanext/issues/templates/issues/edit.html:25 msgid "Title" -msgstr "" +msgstr "Назва" #: ckanext/issues/templates/issues/add.html:28 #: ckanext/issues/templates/issues/edit.html:26 msgid "Description" -msgstr "" +msgstr "Опис" #: ckanext/issues/templates/issues/add.html:28 #: ckanext/issues/templates/issues/edit.html:26 msgid "Add a comment" -msgstr "" +msgstr "Додати коментар" #: ckanext/issues/templates/issues/add.html:33 #: ckanext/issues/templates/issues/confirm_delete.html:14 #: ckanext/issues/templates/issues/edit.html:34 msgid "Cancel" -msgstr "" +msgstr "Видалити" #: ckanext/issues/templates/issues/add.html:35 msgid "Create" -msgstr "" +msgstr "Створити" #: ckanext/issues/templates/issues/all_issues.html:5 #: ckanext/issues/templates/issues/all_issues.html:12 msgid "All Issues" -msgstr "" +msgstr "Всі скарги" #: ckanext/issues/templates/issues/base.html:9 msgid "Datasets" -msgstr "" +msgstr "Набори даних" #: ckanext/issues/templates/issues/base_form_page.html:14 msgid "What are issues?" -msgstr "" +msgstr "Що таке скарги?" #: ckanext/issues/templates/issues/base_form_page.html:16 msgid "

Issues are ... .

" -msgstr "" +msgstr "

Скари – це ... .

" #: ckanext/issues/templates/issues/comment_moderation.html:8 #: ckanext/issues/templates/issues/moderation.html:8 msgid "Reported issues" -msgstr "" +msgstr "Подані скарги" #: ckanext/issues/templates/issues/comment_moderation.html:28 #: ckanext/issues/templates/issues/moderation.html:28 #: ckanext/issues/templates/issues/organization_issues.html:11 msgid "Organizations" -msgstr "" +msgstr "Організації" #: ckanext/issues/templates/issues/comment_moderation.html:68 #: ckanext/issues/templates/issues/moderation.html:69 msgid "Not abuse" -msgstr "" +msgstr "Не образа" #: ckanext/issues/templates/issues/common.html:30 #: ckanext/issues/templates/issues/organization_issues.html:76 #, python-format msgid "%s comments" -msgstr "" +msgstr "%s коментарі" #: ckanext/issues/templates/issues/confirm_delete.html:3 #: ckanext/issues/templates/issues/confirm_delete.html:15 msgid "Confirm Delete" -msgstr "" +msgstr "Підтвердити видалення" #: ckanext/issues/templates/issues/confirm_delete.html:11 msgid "Are you sure you want to delete issue - {0}?" -msgstr "" +msgstr "Ви впевнені, що хочете видалити скаргу - {0}?" #: ckanext/issues/templates/issues/dataset.html:14 #: ckanext/issues/templates/issues/dataset.html:20 @@ -350,119 +432,138 @@ msgstr "" #: ckanext/issues/templates/issues/organization_issues.html:22 #: ckanext/issues/templates/issues/show.html:13 msgid "Issues" -msgstr "" +msgstr "Скарги" #: ckanext/issues/templates/issues/dataset.html:26 #: ckanext/issues/templates/issues/organization_issues.html:27 msgid "Search issues..." -msgstr "" +msgstr "Шукати скарги..." #: ckanext/issues/templates/issues/dataset.html:28 #: ckanext/issues/templates/issues/organization_issues.html:29 #: ckanext/issues/templates/snippets/search_result_text.html:5 msgid "{number} issue found" msgid_plural "{number} issues found" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "{number} скарг знайдено" +msgstr[1] "{number} скарг знайдено" +msgstr[2] "{number} скарг знайдено" #: ckanext/issues/templates/issues/dataset.html:38 msgid "No issues" -msgstr "" +msgstr "Скарг немає" #: ckanext/issues/templates/issues/edit.html:3 #: ckanext/issues/templates/issues/edit.html:5 msgid "Edit Issue" -msgstr "" +msgstr "Редагувати скаргу" #: ckanext/issues/templates/issues/edit.html:36 msgid "Update" -msgstr "" +msgstr "Оновити" #: ckanext/issues/templates/issues/show.html:125 msgid "Not spam/abuse" -msgstr "" +msgstr "Не спам/образа" #: ckanext/issues/templates/issues/show.html:174 msgid "{number} comment" msgid_plural "{number} comments" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "{number} комментарів" +msgstr[1] "{number} комментарів" +msgstr[2] "{number} комментарів" #: ckanext/issues/templates/issues/show.html:208 msgid "Are you sure you want to delete this issue?" -msgstr "" +msgstr "Ви впевнені, що хочете видалити цю скаргу?" #: ckanext/issues/templates/issues/show.html:209 msgid "Delete" -msgstr "" +msgstr "Видалити" #: ckanext/issues/templates/issues/show.html:214 msgid "Close" -msgstr "" +msgstr "Закрити" #: ckanext/issues/templates/issues/show.html:218 msgid "Re-open" -msgstr "" +msgstr "Відкрити знову" #: ckanext/issues/templates/issues/show.html:224 msgid "Comment" -msgstr "" +msgstr "Коментар" #: ckanext/issues/templates/issues/show.html:231 msgid "Login to comment" -msgstr "" +msgstr "Увійдіть, щоб коментувати" #: ckanext/issues/templates/issues/show.html:256 msgid "This issue has been assigned to an administrator for the publisher" -msgstr "" +msgstr "Ця скарга була закріплена за адміністратором розпорядника" #: ckanext/issues/templates/issues/show.html:258 msgid "No one" -msgstr "" +msgstr "Нікого" #: ckanext/issues/templates/issues/show.html:279 msgid "Assign" -msgstr "" +msgstr "Закріпити" #: ckanext/issues/templates/issues/email/new_comment.html:4 #: ckanext/issues/templates/issues/email/new_issue.html:4 msgid "The dataset is: " -msgstr "Датасет це" +msgstr "Набір даних: " #: ckanext/issues/templates/issues/email/new_issue.html:2 msgid "On" -msgstr "" +msgstr "Вкл" #: ckanext/issues/templates/issues/email/new_issue.html:2 msgid "a user has raised an issue with one of the datasets from organization" -msgstr "" +msgstr "користувач почав обговорення набору даних організації" #: ckanext/issues/templates/issues/email/new_issue.html:5 msgid "The issue is:" -msgstr "" +msgstr "Скарга: " #: ckanext/issues/templates/issues/email/new_issue.html:10 msgid "Please correct the problem or add an initial comment about the issue at: " -msgstr "" +msgstr "Будь ласка вирішіть проблему чи додайте перший коментар до скарги: " #: ckanext/issues/templates/issues/email/new_issue.html:12 msgid "Thank you," +msgstr "Дякуємо," + +#: ckanext/issues/templates/issues/email/new_issue.html:14 +msgid "The" msgstr "" +#: ckanext/issues/templates/issues/email/new_issue.html:14 +msgid "team" +msgstr "команда" + +#: ckanext/issues/templates/issues/email/new_issue.html:18 +msgid "Issue:" +msgstr "Скарга:" + +#: ckanext/issues/templates/issues/email/new_issue.html:19 +msgid "Dataset:" +msgstr "Набір даних:" + +#: ckanext/issues/templates/issues/email/new_issue.html:20 +msgid "User:" +msgstr "Користувач:" + #: ckanext/issues/templates/snippets/search_result_text.html:3 msgid "{number} issue found for \"{query}\"" msgid_plural "{number} issues found for \"{query}\"" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" +msgstr[0] "{number} скарг знайдено по \"{query}\" +msgstr[1] "{number} скарг знайдено по \"{query}\" +msgstr[2] "{number} скарг знайдено по \"{query}\" #: ckanext/issues/templates/snippets/search_result_text.html:4 msgid "No issues found for \"{query}\"" -msgstr "" +msgstr "Скарги на \"{query}\" не знайдені" #: ckanext/issues/templates/snippets/search_result_text.html:6 msgid "No issues found" -msgstr "" - +msgstr "Скарги не знайдені" From f8c89f09ba02bd1c66c7ffbc5ab41cb64de705ad Mon Sep 17 00:00:00 2001 From: ivankin Date: Mon, 26 Mar 2018 12:17:11 +0000 Subject: [PATCH 04/29] add translations --- .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo | Bin 7475 -> 10073 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo index 8cc18b9524cfc86609c23b988caebddc41a566f0..954acacf0fcf7cd73df601a1e6f750580b31781b 100644 GIT binary patch literal 10073 zcmchbZH!!3dB-m)H0eTsK%s@caBxUS8qe)`mMn64dTJD|3p^zP2}?!>cq zrgQJu*(_T*USSM!gJO&$H6M_UxKp#d!X#T z0FHov1-=9P1*rY6`xSfv4fv~I0kr;rH!`k*+ULul?D;0B_1_02pMk#)zU1fs$Iri= zP1iAhBdB=o1ZCHR$1*6tYoP3U416cp1m6R`2%;+Z1t>eO!5NL;4{HApfxiXb4r<*# zQ2Hl9$=wGkZYlUdaKX=i)6YK%Uc>wT!?gC#1KLCy)q_}?ul;063 zJ01YF{}(~=;Zaa|KM!Jh@He0+_79-segY~k{|0KGxAJip_&!kl_%tXUOn?SF0j>wX z0}g}#2+Ggva87Y~2Pl0X28Y0pgC7AO0HtpUR6L&swf~R7Tfv`!(t90FXnY5F3wW=` z6X4B^m%vf*pTOS+-;I(T;0X9;@P1H!&x5k#5%71w3*b)hCGdqeu@@xL^XnnE>?wlE z-%e0`FY&PjydRVuPlLO`7r=3Fkf1BBbD#kq0#O}23F1odeLwy?Q1-n5?gejVvwh$Z zP$z~2Ku27U}Y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ivankin Date: Tue, 27 Mar 2018 05:34:19 +0000 Subject: [PATCH 05/29] change translations --- .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo | Bin 10073 -> 10075 bytes .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.po | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo index 954acacf0fcf7cd73df601a1e6f750580b31781b..d992f9c2512f9846ef36371bd704b639a33722bc 100644 GIT binary patch delta 377 zcmXZXKT88a5QpI(h)O~*h3G{zMvYo%r4|A064J?eU}dEUcK#_X6fTWmr=W#kW4?jm z6hpwIuo6@zW$;S~hhXWu~BB*jzG8D{cQfR{LlJ)Ff~oIr0{ zB2_C`MISSGi&?DW05;IWXWYO~9KlpUI>a2N@uHwm`)sZWR4~RpEX_!}c!%!cA1>iA z(`@2uVu(kaKX44!=cGjp(0$+(U7ef6IB~n!k4MF={zRkmQkldWp5PlU;2O&T?w}i_ tgY?oDy23wri~(Km-F@^vv^?%TSleE#W9@FOdu31dYE5fdGfL%y^gqY|K12Wj delta 359 zcmXZXKTASU7{~FShzZv)0=*$>mS#f^)gTCNiJM%nQ)42u^=E2IyF=h8WKe@cFG1tZ z4UJ~IMDHPxz}fG?yPVHC&vVZ6Jm=T>aVFh}XG{9eNcU)EB^Udc#yRerJf<+YD{)oF zSjPr#;t;p+4Z}Fb9rUq^GmK+2Ctab97Cz?Wsl#SKpoR-5PjHc#EG{#8Z|_JV!Ig2hvO5 cXbS(~4LWoknY=&UDA~`GOd|B^$Fi=q0%S2RxBvhE diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po index 011c091b..b702d01b 100644 --- a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po +++ b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po @@ -404,7 +404,7 @@ msgstr "Подані скарги" #: ckanext/issues/templates/issues/moderation.html:28 #: ckanext/issues/templates/issues/organization_issues.html:11 msgid "Organizations" -msgstr "Організації" +msgstr "Розпорядники" #: ckanext/issues/templates/issues/comment_moderation.html:68 #: ckanext/issues/templates/issues/moderation.html:69 From 22b0450ba9bb0361ec81385afd8b15d59cf72216 Mon Sep 17 00:00:00 2001 From: MaryNamj <35913614+MaryNamj@users.noreply.github.com> Date: Tue, 27 Mar 2018 09:23:41 +0300 Subject: [PATCH 06/29] Update ckanext-issues.po MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit знайшла пару помилок --- .../issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po index b702d01b..0a0a60a6 100644 --- a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po +++ b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po @@ -22,7 +22,7 @@ msgstr "" #: ckanext/issues/auth.py:20 msgid "User {0} not authorized for action on issue {1}" -msgstr "Користувач {0} не авторизований для роботи" +msgstr "Користувач {0} не авторизований для роботи зі скаргами {1}" @@ -92,7 +92,7 @@ msgstr "Ваша скарга була зареєстрована, дякуєм #: ckanext/issues/controller/controller.py:131 #: ckanext/issues/controller/controller.py:134 msgid "Issue not found: {0}" -msgstr "Скарга не знайдена : {0}" +msgstr "Скарга не знайдена: {0}" @@ -195,7 +195,7 @@ msgstr "Скарга була направлена до адміністрато #: ckanext/issues/controller/controller.py:358 msgid "You must be logged in to report comments" -msgstr "Ви повинні бути авторизовані, щоб поскаржитися на коментар" +msgstr "Ви повинні бути авторизовані, щоб поскаржитися на коментарі" @@ -351,7 +351,7 @@ msgstr "Нова скарга" #: ckanext/issues/templates/issues/add.html:16 #: ckanext/issues/templates/issues/edit.html:14 msgid "The form contains invalid entries:" -msgstr "Форма містить неправильні знаки" +msgstr "Форма містить неправильні знаки:" #: ckanext/issues/templates/issues/add.html:27 #: ckanext/issues/templates/issues/edit.html:25 @@ -393,7 +393,7 @@ msgstr "Що таке скарги?" #: ckanext/issues/templates/issues/base_form_page.html:16 msgid "

Issues are ... .

" -msgstr "

Скари – це ... .

" +msgstr "

Скарги – це ... .

" #: ckanext/issues/templates/issues/comment_moderation.html:8 #: ckanext/issues/templates/issues/moderation.html:8 From 18e7e6e3f15ec617764ed6e048b91203f9c2b430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2?= Date: Wed, 28 Mar 2018 23:05:54 +0300 Subject: [PATCH 07/29] Style and minor layout changes to fit into main design paradigm --- .../public/css/ckanext-issues/style.css | 107 ++++++++++-------- .../templates/issues/base_form_page.html | 2 +- ckanext/issues/templates/issues/common.html | 30 +++-- ckanext/issues/templates/issues/dataset.html | 5 +- ckanext/issues/templates/issues/show.html | 89 +++++++-------- 5 files changed, 116 insertions(+), 117 deletions(-) diff --git a/ckanext/issues/public/css/ckanext-issues/style.css b/ckanext/issues/public/css/ckanext-issues/style.css index 897939c2..8b6352eb 100644 --- a/ckanext/issues/public/css/ckanext-issues/style.css +++ b/ckanext/issues/public/css/ckanext-issues/style.css @@ -1,9 +1,9 @@ /***************************************** Issue Show - ****************************************/ + ****************************************/ .issue-header { - margin-bottom: 15px; + margin-bottom: 35px; } .issue-header h1.page-heading { @@ -17,16 +17,16 @@ .issue-header-meta { margin-top: 9px; - font-size: 14px; + font-size: 100%; line-height: 28px; color: #777; padding-bottom: 20px; - border-bottom: 1px solid #eee; + border-bottom: 1px solid #2d5ca6; } .issue-header-status { - padding: 6px 12px; - margin-right: 8px; + padding: 6px 8px; + margin-right: 10px; font-size: 14px; font-weight: bold; line-height: 20px; @@ -35,27 +35,23 @@ } .issue-header-status.open { - background-color: #6cc644; + background-color: #449d44; } .issue-header-status.closed { - background-color: red; + background-color: #c9302c; } .issue-comment-wrapper { position: relative; padding-left: 64px; - margin-top: 15px; - margin-bottom: 15px; - border-top: 2px solid #fff; - border-bottom: 2px solid #fff; + padding-bottom: 25px; + margin-bottom: 25px; + border-bottom: 1px solid #d5deed; } .issue-comment { position: relative; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 4px; } .issue-comment-avatar { @@ -65,18 +61,11 @@ } .issue-comment-header { - padding-left: 15px; - padding-right: 10px; - color: #777; - background-color: #f7f7f7; - border-bottom: 1px solid #eee; - border-top-left-radius: 4px; - border-top-right-radius: 4px; + } .issue-comment-header .author { - font-weight: bold; - color: #555; + color: #2d5ca6; } .issue-comment-header .issue-comment-actions .issue-comment-action { @@ -107,23 +96,21 @@ } .issue-comment-action { - margin-top: 8px; padding-left: 5px; + margin-top: -2px; } .issue-header-text { max-width: 78%; - padding-top: 10px; - padding-bottom: 10px; + margin-bottom: 10px; + color: #818181; } .issue-comment-content { - padding: 15px; - font-size: 14px + font-size: 100%; } .issue-comment-new { - border-top: 2px solid #f3f3f3; background-color: #fff; } @@ -137,12 +124,19 @@ } .issue-comment-label { - float: right; - margin: 8px 5px 0px 10px; - padding: 2px 5px; - font-size: 12px; - border: 1px solid rgba(0, 0, 0, 0.1); - border-radius: 3px; + display: inline-block; + padding: 2px 7px; + font-size: 12px; + border: 1px solid rgba(0, 0, 0, 0.1); + border-radius: 3px; +} + +.list-group-item .issue-comment-label { + margin-top: 5px; +} + +.issue-comment-wrapper .issue-comment-label { + float: right; } .issue-abuse { @@ -181,29 +175,26 @@ margin-bottom: -1px; } -.list-group-item:first-child { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} - .list-group-item { position: relative; display: block; - margin-bottom: -1px; - padding: 8px 10px 10px 40px; - border: 1px solid #e5e5e5; + margin-bottom: 25px; + padding: 0px 10px 20px 35px; + border: none; + border-bottom: 1px solid #d5deed; } .list-group-item-name { margin: 0 60px 0 0; - font-size: 15px; + font-size: 120%; line-height: 1.3; margin-bottom: 2px; word-wrap: break-word; + letter-spacing: 0px; } .list-group-item-meta { - font-size: 11px; + font-size: 90%; line-height: 17px; list-style-type: none; overflow: hidden; @@ -217,7 +208,7 @@ .list-group-item-meta>li { display: inline-block; - margin-right: 4px; + margin-right: 10px; } .list-group-item-number { @@ -231,6 +222,7 @@ .list-group-item-name .icon { float: left; + margin-top: 1px; margin-left: -24px; font-size: 16px; line-height: 1; @@ -240,7 +232,7 @@ } .list-group-item-name .icon.open { - color: #6cc644; + color: #449d44; } .list-group-item-name .icon.abuse { @@ -248,7 +240,11 @@ } .list-group-item-name .icon.closed { - color: #fe4c30; + color: #c9302c; +} + +#issue-list { + margin-top: 25px; } /* Sidebar */ @@ -262,3 +258,16 @@ margin-right: -15px; margin-bottom: 0px; } + +#ckanext-issues-assign .select2-container { + min-width: 100%; + width: 100% !important; + margin-bottom: 10px; +} + +#ckanext-issues-assignee img { + position: relative; + top: 1px; + width: 15px; + height: 15px; +} diff --git a/ckanext/issues/templates/issues/base_form_page.html b/ckanext/issues/templates/issues/base_form_page.html index 5b2d7957..8d2f5f63 100644 --- a/ckanext/issues/templates/issues/base_form_page.html +++ b/ckanext/issues/templates/issues/base_form_page.html @@ -11,7 +11,7 @@

{% block page_heading %}{% endblock %}

{% block secondary_content %}
-

{{ _('What are issues?') }}

+

{{ _('What are issues?') }}

{% trans %}

Issues are ... .

diff --git a/ckanext/issues/templates/issues/common.html b/ckanext/issues/templates/issues/common.html index 2cbcaca4..1dcb7103 100644 --- a/ckanext/issues/templates/issues/common.html +++ b/ckanext/issues/templates/issues/common.html @@ -1,19 +1,9 @@ {% macro issue_item(issue, pkg, current_user) -%}
  • #{{issue.number}} - {% set reported_by_current_user = h.issues_user_has_reported_issue(current_user, issue.abuse_reports) %} - {% if issue.visibility == 'hidden' %} -
    - Spam/Abuse - hidden from normal users -
    - {% elif reported_by_current_user %} -
    - Reported by you to admins -
    - {% endif%}

    {% set issue_icon = 'abuse' if issue.visibility == 'hidden' else issue.status %} - + {{issue.title}} @@ -21,24 +11,31 @@

    + {% set reported_by_current_user = h.issues_user_has_reported_issue(current_user, issue.abuse_reports) %} + {% if issue.visibility == 'hidden' %} +
    + {% trans %}Spam/Abuse - hidden from normal users{% endtrans %} +
    + {% elif reported_by_current_user %} +
    + {% trans %}Reported by you to admins{% endtrans %} +
    + {% endif%}

  • {%- endmacro %} {% macro search_options_sidebar(user_can_change_visibility, url_params) -%}

    - - Status + {% trans %}Status{% endtrans %}

    {% if user_can_change_visibility %}

    - - Visibility + {% trans %}Visibility{% endtrans %}

    - {% snippet 'snippets/search_form.html', type='issue', query=q, fields=(('page', pagination.page), ('per_page', pagination.per_page), ('status', status), ('visibility', visibility)), sorting=filters, sorting_selected=sort, placeholder=_('Search issues...'), no_bottom_border=true, no_title=true %} -

    - {{ ungettext('{number} issue found', '{number} issues found', pagination.total_count) .format(number=pagination.total_count) }} -

    + {% snippet 'snippets/search_form.html', type='issue', count=pagination.total_count, query=q, fields=(('page', pagination.page), ('per_page', pagination.per_page), ('status', status), ('visibility', visibility)), sorting=filters, sorting_selected=sort, placeholder=_('Search issues...'), no_bottom_border=true, no_title=true %}
    {% if issues %}
      diff --git a/ckanext/issues/templates/issues/show.html b/ckanext/issues/templates/issues/show.html index ae41f2f1..9a69f505 100644 --- a/ckanext/issues/templates/issues/show.html +++ b/ckanext/issues/templates/issues/show.html @@ -64,7 +64,7 @@ {% if header_is_for_issue and can_edit_issue %} {% endif %} @@ -79,8 +79,7 @@
      {% endif %}
    @@ -92,7 +91,7 @@
    {% endif %}
    @@ -108,7 +107,7 @@
    {% endif %}
    @@ -130,29 +129,29 @@ {% if reports_by_users %}
    - {{ reports_by_users }} user reports this is spam/abuse + {{ reports_by_users }} {% trans %}user reports this is spam/abuse{% endtrans %}
    {% endif %} {% if issue_or_comment.visibility != 'visible' %}
    - Hidden from normal users + {% trans %}Hidden from normal users{% endtrans %}
    {% endif %} {% if issue_or_comment.abuse_status != 'unmoderated' %}
    - Moderated: {{ issue_or_comment.abuse_status }} + {% trans %}Moderated{% endtrans %}: {{ issue_or_comment.abuse_status }}
    {% endif %} {% endif %} {% if h.issues_user_is_owner(user=issue_or_comment.user, dataset_id=dataset.id) %}
    - Owner + {% trans %}Owner{% endtrans %}
    {% endif %}
    {{ issue_or_comment.user.name}} - commented + {% trans %}commented{% endtrans %} {{ h.time_ago_from_timestamp(issue_or_comment.created).lower() }}
    @@ -164,11 +163,11 @@

    {{issue.title}} - #{{issue.number}} + #{{issue.number}}

    - {{issue.status.title()}} + {{issue.status.title()}} {{issue.user.name}} opened this issue {{issue.time_ago}} · {{ ungettext('{number} comment', '{number} comments', comment_count).format(number=comment_count) }} @@ -188,7 +187,7 @@

    {% if c.user %} - {{c.current_user.gravatar}} + {{ h.gravatar((c.userobj.email_hash), size=48) }}
    placeholder="Leave a comment" tabindex="1"> - You can use Markdown formatting here + {% trans %}You can use Markdown formatting here<{% endtrans %}/span>

    {% block form_actions %} @@ -238,48 +237,46 @@

    {% block secondary_content %}
    +
    -

    {{ dataset.name }}

    -
    + +

    {{ dataset.title }}

    -
    -

    - - Assignee -

    -
    - {% if issue.assignee %} - {{ h.gravatar((issue.assignee.email_hash), size=22) }} - {{ issue.assignee.name }} - {% elif issue.assignee_id %} - {{ _('This issue has been assigned to an administrator for the publisher') }} - {% else %} - {{ _('No one') }} - {% endif %} -
    - {% block assignee_form %} - {% if is_publisher %}

    - - Change Assignee + {% trans %}Assignee{% endtrans %}

    - +
    +
    + {% if issue.assignee %} + {{ h.gravatar((issue.assignee.email_hash), size=22) }} {{ issue.assignee.name }} + {% elif issue.assignee_id %} + {{ _('This issue has been assigned to an administrator for the publisher') }} + {% else %} + {{ _('No one') }} + {% endif %} +
    +
    + {% block assignee_form %} {% if is_publisher %} +

    + {% trans %}Change Assignee{% endtrans %} +

    +
    +
    - - {% else %} - data-module-source="/api/3/action/user_autocomplete?q=?"> - {% endif %} + {% else %} data-module-source="/api/3/action/user_autocomplete?q=?"> {% endif %}
    -
    - {% endif %} - {% endblock %} + {% endif %} {% endblock %} +
    +
    +
    {% endblock %} From a007104836f4c683ce3734b9b85cd87dce085af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2?= Date: Thu, 29 Mar 2018 17:22:20 +0300 Subject: [PATCH 08/29] Change buttons design and position in comment moderation Fix typo Added trans tags where necessary --- .../public/css/ckanext-issues/style.css | 32 ++++ .../issues/templates/issues/all_issues.html | 2 +- .../templates/issues/base_form_page.html | 4 +- ckanext/issues/templates/issues/show.html | 165 +++++++++--------- 4 files changed, 120 insertions(+), 83 deletions(-) diff --git a/ckanext/issues/public/css/ckanext-issues/style.css b/ckanext/issues/public/css/ckanext-issues/style.css index 8b6352eb..b9d6fd29 100644 --- a/ckanext/issues/public/css/ckanext-issues/style.css +++ b/ckanext/issues/public/css/ckanext-issues/style.css @@ -50,6 +50,10 @@ border-bottom: 1px solid #d5deed; } +.issue-comment-wrapper:last-of-type { + border-bottom: none; +} + .issue-comment { position: relative; } @@ -143,6 +147,34 @@ color: #b0b0b0; } +.issue-comment-footer { + margin-top: 10px; + font-size: 80%; +} + +.issue-comment-footer .issue-comment-action { + margin-bottom: 5px; + margin-top: 0px; + padding-left: 0px; + display: inline-block; +} + +.issue-comment-footer .issue-comment-action .link-button { + border: none; + padding: 0px; + margin-right: 10px; + color: #2d5ca6; +} + +.issue-comment-footer .issue-comment-action .link-button:hover { + color: #23527c; +} + +.issue-comment-footer .issue-comment-label { + margin-bottom: 5px; + float: none; +} + /***************************************** Issue homes - dataset, organization, all ****************************************/ diff --git a/ckanext/issues/templates/issues/all_issues.html b/ckanext/issues/templates/issues/all_issues.html index 54884448..447e9d61 100644 --- a/ckanext/issues/templates/issues/all_issues.html +++ b/ckanext/issues/templates/issues/all_issues.html @@ -21,5 +21,5 @@ {% endblock %} {% block no_issues %} - There are currently no issues + {% trans %}There are currently no issues{% endtrans %} {% endblock %} diff --git a/ckanext/issues/templates/issues/base_form_page.html b/ckanext/issues/templates/issues/base_form_page.html index 8d2f5f63..b96c9acc 100644 --- a/ckanext/issues/templates/issues/base_form_page.html +++ b/ckanext/issues/templates/issues/base_form_page.html @@ -13,9 +13,7 @@

    {% block page_heading %}{% endblock %}

    {{ _('What are issues?') }}

    - {% trans %} -

    Issues are ... .

    - {% endtrans %} +

    {% trans %}Issues are ... .{% endtrans %}

    {% endblock %} diff --git a/ckanext/issues/templates/issues/show.html b/ckanext/issues/templates/issues/show.html index 9a69f505..f489aa29 100644 --- a/ckanext/issues/templates/issues/show.html +++ b/ckanext/issues/templates/issues/show.html @@ -39,6 +39,7 @@
    {{ h.render_markdown(issue.comment) }}
    + {{ issue_or_comment_footer(issue_or_comment=issue, dataset=dataset, issue=issue, header_is_for_issue=False, can_edit_issue=can_edit_issue) }} {% endmacro %} @@ -54,6 +55,7 @@
    {{ h.render_markdown(comment.comment) }}
    + {{ issue_or_comment_footer(issue_or_comment=comment, dataset=dataset, issue=issue, header_is_for_issue=False, can_edit_issue=can_edit_issue) }} {% endmacro %} @@ -68,81 +70,6 @@ {% endif %} - {% if c.user and not can_edit_issue %} - {# a normal user can report this comment/issue #} - {% set reported_by_current_user = h.issues_user_has_reported_issue(c.user, issue_or_comment.abuse_reports) %} - {% if not reported_by_current_user %} -
    - {% if header_is_for_issue %} -
    - {% else %} - - {% endif %} - -
    -
    - {% else %} -
    - {% if header_is_for_issue %} -
    - {% else %} - - {% endif %} - -
    -
    - {% endif %} - {% elif c.user %} - {# i.e. an admin, so allow moderation #} - {% set reports_by_users = issue_or_comment.abuse_reports|length %} - {# always offer the "this is spam" button #} -
    - {% if header_is_for_issue %} -
    - {% else %} - - {% endif %} - -
    -
    - {# only offer the "this isn't spam" button if it has been marked as spam by users or moderator and therefore it might need denying or cancelling #} - {% if (reports_by_users or issue_or_comment.visibility != 'visible') %} -
    - {% if header_is_for_issue %} -
    - {% else %} - - {% endif %} - -
    -
    - {% endif %} - {% if reports_by_users %} -
    - {{ reports_by_users }} {% trans %}user reports this is spam/abuse{% endtrans %} -
    - {% endif %} - {% if issue_or_comment.visibility != 'visible' %} -
    - {% trans %}Hidden from normal users{% endtrans %} -
    - {% endif %} - {% if issue_or_comment.abuse_status != 'unmoderated' %} -
    - {% trans %}Moderated{% endtrans %}: {{ issue_or_comment.abuse_status }} -
    - {% endif %} - {% endif %} {% if h.issues_user_is_owner(user=issue_or_comment.user, dataset_id=dataset.id) %}
    @@ -157,6 +84,85 @@
    {% endmacro %} +{%- macro issue_or_comment_footer(issue_or_comment, dataset, issue, header_is_for_issue, can_edit_issue) %} + +{% endmacro %} + {% block primary_content %}
    @@ -169,7 +175,7 @@

    {{issue.status.title()}} - {{issue.user.name}} opened this issue {{issue.time_ago}} · + {{issue.user.name}} {% trans %}opened this issue{% endtrans %} {{issue.time_ago}} · {{ ungettext('{number} comment', '{number} comments', comment_count).format(number=comment_count) }}

    @@ -195,10 +201,10 @@

    - {% trans %}You can use Markdown formatting here<{% endtrans %}/span> + {% trans %}You can use Markdown formatting here{% endtrans %}
    {% block form_actions %} @@ -275,7 +281,8 @@

    - {% endif %} {% endblock %} + {% endif %} + {% endblock %} From 8fc6066404afcc4bf6606d9c09e457a9cd7a6a52 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 10 Apr 2018 08:47:45 +0300 Subject: [PATCH 09/29] Changed datetime.now on datetime.utcnow defauld fields value (#5) --- ckanext/issues/model/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ckanext/issues/model/__init__.py b/ckanext/issues/model/__init__.py index 2a8e9e86..423880f4 100644 --- a/ckanext/issues/model/__init__.py +++ b/ckanext/issues/model/__init__.py @@ -469,7 +469,7 @@ def clear_all_abuse_reports(self, session): Column('name', types.Unicode(ISSUE_CATEGORY_NAME_MAX_LENGTH), nullable=False, unique=True), Column('description', types.Unicode, nullable=False, unique=False), - Column('created', types.DateTime, default=datetime.now, + Column('created', types.DateTime, default=datetime.utcnow, nullable=False)) issue_table = Table( @@ -486,7 +486,7 @@ def clear_all_abuse_reports(self, session): Column('status', types.String(15), default=ISSUE_STATUS.open, nullable=False), Column('resolved', types.DateTime), - Column('created', types.DateTime, default=datetime.now, + Column('created', types.DateTime, default=datetime.utcnow, nullable=False), Column('visibility', types.Unicode, default=u'visible'), Column('abuse_status', @@ -505,7 +505,7 @@ def clear_all_abuse_reports(self, session): Column('issue_id', types.Integer, ForeignKey('issue.id', onupdate='CASCADE', ondelete='CASCADE'), nullable=False, index=True), - Column('created', types.DateTime, default=datetime.now, + Column('created', types.DateTime, default=datetime.utcnow, nullable=False), Column('visibility', types.Unicode, default=u'visible'), Column('abuse_status', From 53b3115820a9290bc6b5ee96b03fe0d089d05e42 Mon Sep 17 00:00:00 2001 From: DaleDMT Date: Fri, 13 Apr 2018 12:04:14 +0300 Subject: [PATCH 10/29] Fixed translation --- ckanext/issues/i18n/ckanext-issues.pot | 1 - .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo | Bin 10075 -> 10107 bytes .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.po | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ckanext/issues/i18n/ckanext-issues.pot b/ckanext/issues/i18n/ckanext-issues.pot index 8da087b4..e64eeb38 100644 --- a/ckanext/issues/i18n/ckanext-issues.pot +++ b/ckanext/issues/i18n/ckanext-issues.pot @@ -3,7 +3,6 @@ # This file is distributed under the same license as the ckanext-issues project. # FIRST AUTHOR , 2018. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: ckanext-issues 0.3\n" diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo index d992f9c2512f9846ef36371bd704b639a33722bc..b505297b152b1c5cd7b1159a1fc0c08a1276f22a 100644 GIT binary patch delta 926 zcmXZbO-K}B7{Kvo#}A}+bJf*#)zbB&kF}585($kx6v2icXm;>q5$PdnRp_E7qj;(a z1hYM)pwz8Hs}p2()DB*1mhhygnTPV=%?gU>|F{Fg{GMlK-uHRmXJ*#g{C+Zxq;KD1OKA7+RbWOumO8<9Pi;S>W;f; z*D;KvZeR*^o_WXo>U2JEV5dlmAkG63euYaoi+%VFYq6744-TR(WD}_+d#Dq8six!m z@wwi&R-8cU7a3wF}_;EQKkp}GT6u|N4T5jc9*}AQ!wd?wa(l*x=6c;*Fijpm>p6pUd5k#)uHn5lw3K5KQ zMFb7>CU|gb6on2d3q@u+c#AYV=%rJ%1X73kJ{%b4^WOaVz4v=FeyM>k5iySh+$%`gx!OwUEx3C!ZunV0$REQ6;0bkhp3Ko%X zdkv8mfGqf1~y|e zj$jpT8w5du9NN^KhHcwyAD}ky6svI(bz+;S3;)7g{D;(*T(+f!DpA*qBPC=Avv3+2 zj?CgkG(HfpIZ0z5y7&R~8x0_9%2(8p{zfg}J$Ep=YSeEUL2YCNPv8`0;#*{>GLK>W zg8EM!rTa&ikH@Gl&k6Kfy~1ml#yeQ&7rBjNs4woLj@n5#t$5kiz;5z2)Ezf4u5yf` zZXk}jPQo^A+fky|JNStRv?F(^$W?rXJ($8Wtl@MYJ5d{1LTbr6>cT%UhEb}H>wWW6 zR-4N#a*t+Y4_k}YoRzfRTZ`sWUhGhY-wYOfKWw^uDMzBe*!wQ<#*s({Jmy^KN5_9> CrF206 diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po index 0a0a60a6..f20bc81d 100644 --- a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po +++ b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po @@ -372,7 +372,7 @@ msgstr "Додати коментар" #: ckanext/issues/templates/issues/confirm_delete.html:14 #: ckanext/issues/templates/issues/edit.html:34 msgid "Cancel" -msgstr "Видалити" +msgstr "Скасувати" #: ckanext/issues/templates/issues/add.html:35 msgid "Create" From d45630f5acf38a0883a250ba19767acef310b364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2?= Date: Fri, 11 May 2018 16:39:51 +0300 Subject: [PATCH 11/29] Fix font size of "new issue" button --- ckanext/issues/public/css/ckanext-issues/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ckanext/issues/public/css/ckanext-issues/style.css b/ckanext/issues/public/css/ckanext-issues/style.css index b9d6fd29..7d8db3b7 100644 --- a/ckanext/issues/public/css/ckanext-issues/style.css +++ b/ckanext/issues/public/css/ckanext-issues/style.css @@ -6,6 +6,10 @@ margin-bottom: 35px; } +h1.page-heading .issues-actions .btn { + font-size: 15px; +} + .issue-header h1.page-heading { word-wrap: break-word; margin-bottom: 0; From e70965964cd69a0f78146765929780416c17850b Mon Sep 17 00:00:00 2001 From: DaleDMT Date: Mon, 14 May 2018 11:07:12 +0300 Subject: [PATCH 12/29] Fix email templates --- .../templates/issues/email/new_comment.html | 23 +++++++++---------- .../templates/issues/email/new_issue.html | 22 ++++++++++-------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/ckanext/issues/templates/issues/email/new_comment.html b/ckanext/issues/templates/issues/email/new_comment.html index 67dd2246..23fb06fa 100644 --- a/ckanext/issues/templates/issues/email/new_comment.html +++ b/ckanext/issues/templates/issues/email/new_comment.html @@ -1,20 +1,19 @@ -A user '{{ user.fullname }}' has added a comment to one of your issues on {{ site_title }}. - -{% trans %}The dataset is: {% endtrans %}{{ dataset.title }} -The issue is: {{ issue_subject }} -The comment is: +

    {% trans %}A user {{ user.fullname }} has added a comment to one of your issues on {{ site_title }}.{% endtrans %}

    +

    {% trans %}The dataset is{% endtrans %}: {{ dataset.title }}
    +{% trans %}The issue is{% endtrans %}: {{ issue_subject }}
    +{% trans %}The comment is{% endtrans %}:
    > {{ comment.comment|wordwrap(width=76)|replace('\n', '\n> '|safe) }} +

    +

    {% trans %}In order to respond to the comment, please see the issue at{% endtrans %}: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. {% trans %}Once the issue has been resolved, click 'Close issue'.{% endtrans %}

    -In order to respond to the comment, please see the issue at: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. Once the issue has been resolved, click 'Close issue'. - -Thank you, +

    {% trans %}Thank you{% endtrans %}

    -The {{ site_title }} team +

    {% trans %}The {{ site_title }} team{% endtrans %}

    --- +

    --

    -Issue: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }} -Dataset: {{ h.url_for('dataset_read', id=dataset.name, qualified=True) }} +

    {% trans %}Issue{% endtrans %}: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}

    +

    {% trans %}Dataset{% endtrans %}: {{ h.url_for('dataset_read', id=dataset.name, qualified=True) }}

    diff --git a/ckanext/issues/templates/issues/email/new_issue.html b/ckanext/issues/templates/issues/email/new_issue.html index 64958d81..dc9acda0 100644 --- a/ckanext/issues/templates/issues/email/new_issue.html +++ b/ckanext/issues/templates/issues/email/new_issue.html @@ -1,20 +1,22 @@ -{% trans %}On{% endtrans %} {{ site_title }} {% trans %}a user has raised an issue with one of the datasets from organization{% endtrans %} '{{ recipient.organization_title }}', for which you are an {{ recipient.capacity }}.' for which you are an {{ capacity }}. +

    {% trans %}On{% endtrans %} {{ site_title }} {% trans %}a user has raised an issue with one of the datasets from organization{% endtrans %} '{{ recipient.organization_title }}', for which you are an {{ recipient.capacity }}.' for which you are an {{ capacity }}.

    -{% trans %}The dataset is: {% endtrans %}{{ dataset.title }} -{% trans %}The issue is:{% endtrans %} +

    {% trans %}The dataset is: {% endtrans %}{{ dataset.title }}

    + +

    {% trans %}The issue is:{% endtrans %} > {{ issue_subject|wordwrap(width=76)|replace('\n', '\n> '|safe) }} > {{ issue.description|wordwrap(width=76)|replace('\n', '\n> '|safe) }} +

    +

    {% trans %}Please correct the problem or add an initial comment about the issue at: {% endtrans %}{{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. Once the issue has been resolved, click 'Close issue'.

    -{% trans %}Please correct the problem or add an initial comment about the issue at: {% endtrans %}{{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. Once the issue has been resolved, click 'Close issue'. - -{% trans %}Thank you,{% endtrans %} +

    {% trans %}Thank you,{% endtrans %}

    -{% trans %}The{% endtrans %} {{ site_title }} {% trans %}team{% endtrans %} +

    {% trans %}The{% endtrans %} {{ site_title }} {% trans %}team{% endtrans %}

    --- +

    --

    -{% trans %}Issue:{% endtrans %} {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }} +

    {% trans %}Issue:{% endtrans %} {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }} {% trans %}Dataset:{% endtrans %} {{ h.url_for('dataset_read', id=dataset.name, qualified=True) }} -{% trans %}User:{% endtrans %} {{ user.fullname or user.name }} \ No newline at end of file +{% trans %}User:{% endtrans %} {{ user.fullname or user.name }} +

    From 5e1db4cce22cf386e2930523b7e896b3639dd72e Mon Sep 17 00:00:00 2001 From: Ivankin Date: Wed, 16 May 2018 16:18:16 +0000 Subject: [PATCH 13/29] change translation --- ckanext/issues/i18n/ckanext-issues.pot | 166 ++++++-- .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo | Bin 10107 -> 11682 bytes .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.po | 360 +++++++++--------- .../templates/issues/base_form_page.html | 2 +- 4 files changed, 324 insertions(+), 204 deletions(-) diff --git a/ckanext/issues/i18n/ckanext-issues.pot b/ckanext/issues/i18n/ckanext-issues.pot index e64eeb38..0e2100c0 100644 --- a/ckanext/issues/i18n/ckanext-issues.pot +++ b/ckanext/issues/i18n/ckanext-issues.pot @@ -3,11 +3,12 @@ # This file is distributed under the same license as the ckanext-issues project. # FIRST AUTHOR , 2018. # +#, fuzzy msgid "" msgstr "" "Project-Id-Version: ckanext-issues 0.3\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-03-20 22:27+0000\n" +"POT-Creation-Date: 2018-05-16 16:14+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -297,6 +298,10 @@ msgstr "" msgid "All Issues" msgstr "" +#: ckanext/issues/templates/issues/all_issues.html:24 +msgid "There are currently no issues" +msgstr "" + #: ckanext/issues/templates/issues/base.html:9 msgid "Datasets" msgstr "" @@ -306,7 +311,7 @@ msgid "What are issues?" msgstr "" #: ckanext/issues/templates/issues/base_form_page.html:16 -msgid "

    Issues are ... .

    " +msgid "Issues are the system for getting feedback about datasets." msgstr "" #: ckanext/issues/templates/issues/comment_moderation.html:8 @@ -325,12 +330,28 @@ msgstr "" msgid "Not abuse" msgstr "" -#: ckanext/issues/templates/issues/common.html:30 +#: ckanext/issues/templates/issues/common.html:18 #: ckanext/issues/templates/issues/organization_issues.html:76 #, python-format msgid "%s comments" msgstr "" +#: ckanext/issues/templates/issues/common.html:25 +msgid "Spam/Abuse - hidden from normal users" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:29 +msgid "Reported by you to admins" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:38 +msgid "Status" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:52 +msgid "Visibility" +msgstr "" + #: ckanext/issues/templates/issues/confirm_delete.html:3 #: ckanext/issues/templates/issues/confirm_delete.html:15 msgid "Confirm Delete" @@ -353,7 +374,19 @@ msgstr "" msgid "Search issues..." msgstr "" -#: ckanext/issues/templates/issues/dataset.html:28 +#: ckanext/issues/templates/issues/dataset.html:35 +msgid "No issues" +msgstr "" + +#: ckanext/issues/templates/issues/edit.html:3 +#: ckanext/issues/templates/issues/edit.html:5 +msgid "Edit Issue" +msgstr "" + +#: ckanext/issues/templates/issues/edit.html:36 +msgid "Update" +msgstr "" + #: ckanext/issues/templates/issues/organization_issues.html:29 #: ckanext/issues/templates/snippets/search_result_text.html:5 msgid "{number} issue found" @@ -361,68 +394,119 @@ msgid_plural "{number} issues found" msgstr[0] "" msgstr[1] "" -#: ckanext/issues/templates/issues/dataset.html:38 -msgid "No issues" +#: ckanext/issues/templates/issues/show.html:76 +msgid "Owner" msgstr "" -#: ckanext/issues/templates/issues/edit.html:3 -#: ckanext/issues/templates/issues/edit.html:5 -msgid "Edit Issue" +#: ckanext/issues/templates/issues/show.html:81 +msgid "commented" msgstr "" -#: ckanext/issues/templates/issues/edit.html:36 -msgid "Update" +#: ckanext/issues/templates/issues/show.html:100 +msgid "Report abuse" msgstr "" -#: ckanext/issues/templates/issues/show.html:125 +#: ckanext/issues/templates/issues/show.html:111 +msgid "You have reported this as abuse, cancel the report" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:112 +#: ckanext/issues/templates/issues/show.html:128 +msgid "Flag" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:127 +msgid "Mark as spam/abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:140 +msgid "Mark as NOT spam/abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:141 msgid "Not spam/abuse" msgstr "" -#: ckanext/issues/templates/issues/show.html:174 +#: ckanext/issues/templates/issues/show.html:149 +msgid "user reports this is spam/abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:154 +msgid "Hidden from normal users" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:159 +msgid "Moderated" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:178 +msgid "opened this issue" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:179 msgid "{number} comment" msgid_plural "{number} comments" msgstr[0] "" msgstr[1] "" -#: ckanext/issues/templates/issues/show.html:208 +#: ckanext/issues/templates/issues/show.html:204 +msgid "Leave a comment" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:207 +msgid "You can use Markdown formatting here" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:213 msgid "Are you sure you want to delete this issue?" msgstr "" -#: ckanext/issues/templates/issues/show.html:209 +#: ckanext/issues/templates/issues/show.html:214 msgid "Delete" msgstr "" -#: ckanext/issues/templates/issues/show.html:214 +#: ckanext/issues/templates/issues/show.html:219 msgid "Close" msgstr "" -#: ckanext/issues/templates/issues/show.html:218 +#: ckanext/issues/templates/issues/show.html:223 msgid "Re-open" msgstr "" -#: ckanext/issues/templates/issues/show.html:224 +#: ckanext/issues/templates/issues/show.html:229 msgid "Comment" msgstr "" -#: ckanext/issues/templates/issues/show.html:231 +#: ckanext/issues/templates/issues/show.html:236 msgid "Login to comment" msgstr "" -#: ckanext/issues/templates/issues/show.html:256 +#: ckanext/issues/templates/issues/show.html:247 +msgid "All issues of dataset" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:247 +msgid "All issues of this dataset" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:255 +msgid "Assignee" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:262 msgid "This issue has been assigned to an administrator for the publisher" msgstr "" -#: ckanext/issues/templates/issues/show.html:258 +#: ckanext/issues/templates/issues/show.html:264 msgid "No one" msgstr "" -#: ckanext/issues/templates/issues/show.html:279 -msgid "Assign" +#: ckanext/issues/templates/issues/show.html:270 +msgid "Change Assignee" msgstr "" -#: ckanext/issues/templates/issues/email/new_comment.html:4 -#: ckanext/issues/templates/issues/email/new_issue.html:4 -msgid "The dataset is: " +#: ckanext/issues/templates/issues/show.html:280 +msgid "Assign" msgstr "" #: ckanext/issues/templates/issues/email/new_issue.html:2 @@ -433,18 +517,42 @@ msgstr "" msgid "a user has raised an issue with one of the datasets from organization" msgstr "" -#: ckanext/issues/templates/issues/email/new_issue.html:5 +#: ckanext/issues/templates/issues/email/new_issue.html:4 +msgid "The dataset is: " +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:6 msgid "The issue is:" msgstr "" -#: ckanext/issues/templates/issues/email/new_issue.html:10 +#: ckanext/issues/templates/issues/email/new_issue.html:11 msgid "Please correct the problem or add an initial comment about the issue at: " msgstr "" -#: ckanext/issues/templates/issues/email/new_issue.html:12 +#: ckanext/issues/templates/issues/email/new_issue.html:13 msgid "Thank you," msgstr "" +#: ckanext/issues/templates/issues/email/new_issue.html:15 +msgid "The" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:15 +msgid "team" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:19 +msgid "Issue:" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:20 +msgid "Dataset:" +msgstr "" + +#: ckanext/issues/templates/issues/email/new_issue.html:21 +msgid "User:" +msgstr "" + #: ckanext/issues/templates/snippets/search_result_text.html:3 msgid "{number} issue found for \"{query}\"" msgid_plural "{number} issues found for \"{query}\"" diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo index b505297b152b1c5cd7b1159a1fc0c08a1276f22a..85b7775dabbc95f73848ccdacf59273dc0665dcc 100644 GIT binary patch literal 11682 zcmdU!dvG1qeaE+n3B_sJ1ZWaMk{;aH1kjZw@fNnh#x}K)AN2#qK!>h$*V3)8_9}Px z+6d#uvcn^-g9&kM$_xgF)&rgXAv?Aaeu%y%GtD2Fy_t5JNkZG9nKm=+bka^~|47U9 z^F3$x-n~~>wqT}z)MM$hd-iu;zvtQ2-(ETI_dNbh@bg)IzA#UB&3|1#?|C2Pwg5i{ z?}YQ=eehbi30?z3_{;Da_!)Q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-kc#2D!XYP@Dzh8}9!o31oV zNt;YsQFmRV=9kOs&8~{B%2DTtGe*S;Jx(4eVjuzM5%L^U_BnHXwa-*mE;093mX=Is z=nOZ1mbW=s`E=7sw#_J0NF^q?N;ywv)+xQ-%KnsRNz#nl^W2y|z0&O0K9kb7cFbMA zr)Yjw+2eCWHSz_I&6UcM`BH-uMpt;f31xrGuAY!cC;;JdLQJaa9dn|(%Dh{>u7$bEP(~ z^b32LLv=y3sV?xPE&5FEit;ra{zT@)$i_>_zM47qL@`HP&Zs%H;)W_Iw}hj=tX1UN zmoqFmqACkP(OKAiQ_<*=Xr|5&}wXfX5Z6`M7UxwXt|{!#DK z|1*U^LzlT!?=>$qtj*$Qal%|`IBX7AEL}7AYH|`YVapC+AE@-%p8g>;bwR(01WU6s bt;`RCWiyw4b0rv<^;u-LHGbXnG_L*+ygR&# diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po index f20bc81d..1b079b4e 100644 --- a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po +++ b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: ckanext-issues 0.3\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-03-23 03:51+0000\n" +"POT-Creation-Date: 2018-05-16 16:14+0000\n" "PO-Revision-Date: 2018-03-20 22:22+0000\n" "Last-Translator: FULL NAME \n" "Language: uk_UA\n" @@ -22,259 +22,177 @@ msgstr "" #: ckanext/issues/auth.py:20 msgid "User {0} not authorized for action on issue {1}" -msgstr "Користувач {0} не авторизований для роботи зі скаргами {1}" - - - - - +msgstr "Користувач {0} не має достатньо прав для роботи зі скаргами {1}" #: ckanext/issues/auth.py:42 msgid "User {0} not authorized for action" -msgstr "Користувач {0} не авторизований для роботи" - - +msgstr "Користувач {0} не має достатньо прав для цієї дії" #: ckanext/issues/auth.py:91 msgid "User {user} not authorized for action on issue {issue}" -msgstr "Користувач {user} не авторизований для роботи зі скаргами {issue}" - - - +msgstr "Користувач {user} не має достатньо прав для роботи зі скаргами {issue}" #: ckanext/issues/controller/controller.py:48 msgid "Issues have not been enabled for this dataset" msgstr "Скарги недоступні для цього набору даних" - - #: ckanext/issues/controller/controller.py:51 #: ckanext/issues/controller/controller.py:69 msgid "Dataset not found" msgstr "Набір даних не знайдено" - - #: ckanext/issues/controller/controller.py:54 msgid "Unauthorized to view issues for this dataset" -msgstr "Немає доступу для перегляду скарг на цей набір даних" - - +msgstr "У вас немає доступу для перегляду скарг по цьому набору даних" #: ckanext/issues/controller/controller.py:66 msgid "Issues have not been enabled for this organization" -msgstr "Скарги недоступні для цієї організації" - +msgstr "Скарги недоступні для цього розпорядника" #: ckanext/issues/controller/controller.py:72 msgid "Unauthorized to view issues for this organization" -msgstr "Немає доступу для перегляду скарг на цю організацію" - +msgstr "У вас немає доступу для перегляду скарг на цього розпорядника" #: ckanext/issues/controller/controller.py:77 msgid "Please login to add a new issue" msgstr "Будь ласка, увійдіть, щоб додати нову скаргу" - #: ckanext/issues/controller/controller.py:86 msgid "Not authorized to add a new issue" -msgstr "Немає доступу для додавання нової скарги" - - - +msgstr "У вас немає доступу для додавання нової скарги" #: ckanext/issues/controller/controller.py:113 msgid "Your issue has been registered, thank you for the feedback" -msgstr "Ваша скарга була зареєстрована, дякуємо за зворотній зв'язок" - - +msgstr "Ваша скарга була зареєстрована. Дякуємо за зворотній зв'язок" #: ckanext/issues/controller/controller.py:131 #: ckanext/issues/controller/controller.py:134 msgid "Issue not found: {0}" -msgstr "Скарга не знайдена: {0}" - - +msgstr "Скаргу не знайдено: {0}" #: ckanext/issues/controller/controller.py:178 msgid "Invalid request" -msgstr "Запит невірний" - - +msgstr "Неправильний запит" #: ckanext/issues/controller/controller.py:190 msgid "Not authorized" msgstr "Немає доступу" - #: ckanext/issues/controller/controller.py:199 msgid "Comment cannot be empty" msgstr "Поле \"Комментар\" не може бути порожнім" - - #: ckanext/issues/controller/controller.py:215 msgid "Issue closed" -msgstr "Скарга закрита" - - +msgstr "Скаргу закрито" #: ckanext/issues/controller/controller.py:217 msgid "Issue re-opened" -msgstr "Скарга знову відкрита" - - +msgstr "Скаргу знову відкрито" #: ckanext/issues/controller/controller.py:255 msgid "Unauthorized to delete issue {0}" -msgstr "Немає доступу, щоб видалити скаргу {0}" - - +msgstr "У вас недостатньо прав доступу, щоб видалити скаргу {0}" #: ckanext/issues/controller/controller.py:260 msgid "Issue {0} has been deleted." -msgstr "Скарга {0} була видалена" - - +msgstr "Скаргу {0} видалено." #: ckanext/issues/controller/controller.py:278 msgid "User {0} does not exist" msgstr "Користувача {0} не існує" - - #: ckanext/issues/controller/controller.py:298 msgid "Assigned to {user}" msgstr "Закріплена за {user}" - - #: ckanext/issues/controller/controller.py:308 msgid "Unauthorized to assign users to issue" -msgstr "Немає доступу для закріплення користувачів до скарги" - - +msgstr "У вас немає прав доступу для закріплення користувачів за скаргою" #: ckanext/issues/controller/controller.py:322 msgid "You must be logged in to report issues" -msgstr "Ви повинні увійти, щоб подати скарги" - - +msgstr "Ви повинні увійти, щоб подавати скарги" #: ckanext/issues/controller/controller.py:333 #: ckanext/issues/controller/controller.py:370 msgid "Report acknowledged." -msgstr "Звіт підтверджено" - - +msgstr "Звіт підтверджено." #: ckanext/issues/controller/controller.py:336 #: ckanext/issues/controller/controller.py:373 msgid "Marked as abuse/spam." -msgstr "Позначено як образу/спам" - - +msgstr "Позначено як зловживання/спам." #: ckanext/issues/controller/controller.py:337 msgid "Issue is visible." -msgstr "Скарга видима" - - +msgstr "Скарга - видима." #: ckanext/issues/controller/controller.py:339 msgid "Issue is invisible to normal users." -msgstr "Скарга невидима для простих користувачів" - - +msgstr "Скарга - невидима для звичайних користувачів." #: ckanext/issues/controller/controller.py:342 msgid "Issue reported to an administrator" -msgstr "Скарга була направлена до адміністратора" - - +msgstr "Скаргу надіслано адміністратору" #: ckanext/issues/controller/controller.py:358 msgid "You must be logged in to report comments" -msgstr "Ви повинні бути авторизовані, щоб поскаржитися на коментарі" - - +msgstr "Ви повинні зайти в систему, щоб поскаржитися на коментарі" #: ckanext/issues/controller/controller.py:374 msgid "Comment is visible." -msgstr "Коментар видимий" - - +msgstr "Коментар - видимий." #: ckanext/issues/controller/controller.py:376 msgid "Comment is invisible to normal users." -msgstr "Коментар невидимий для простих користувачів" - - +msgstr "Коментар - невидимий для простих користувачів." #: ckanext/issues/controller/controller.py:379 msgid "Comment has been reported to an administrator" -msgstr "Коментар був направлений до адміністратора" - - +msgstr "Коментар надіслано адміністратору" #: ckanext/issues/controller/controller.py:402 msgid "Issue report cleared" -msgstr "Скарга була розглянута" - - +msgstr "Скаргу розглянуто" #: ckanext/issues/controller/controller.py:407 msgid "You must be logged in clear abuse reports" -msgstr "Ви повинні бути авторизовані, щоб розглянути скаргу" - - +msgstr "Ви повинні увійти в систему, щоб розглянути скаргу" #: ckanext/issues/controller/controller.py:425 msgid "Spam/abuse report cleared" -msgstr "Спам/скарга на образу були розглянуті" - - +msgstr "Спам/скаргу розглянуто" #: ckanext/issues/controller/controller.py:430 msgid "You must be logged in to clear abuse reports" -msgstr "Ви повинні бути авторизовані, щоб розглянути скаргу" - - - +msgstr "Ви повинні увійти в систему, щоб розглянути скаргу" #: ckanext/issues/controller/controller.py:447 #: ckanext/issues/controller/controller.py:487 msgid "Validation error: {0}" msgstr "Помилка перевірки: {0}" - - #: ckanext/issues/controller/moderation.py:17 #: ckanext/issues/controller/moderation.py:76 msgid "Organization not found" -msgstr "Організація не знайдена" - - +msgstr "Розпорядника не знайдено" #: ckanext/issues/controller/moderation.py:22 msgid "You must be logged in to moderate issues" -msgstr "Ви повинні бути авторизовані, щоб модерувати скарги" - - +msgstr "Ви повинні увійти в систему, щоб опрацювати скарги" #: ckanext/issues/controller/moderation.py:29 msgid "Issue permanently hidden" msgstr "Скаргу приховано назавжди" - - #: ckanext/issues/controller/moderation.py:33 msgid "All issue reports cleared" msgstr "Усі скарги розглянуті" #: ckanext/issues/controller/moderation.py:81 msgid "You must be logged in to moderate comment" -msgstr "Ви повинні авторизуватися для модеруваня коментаря" +msgstr "Ви повинні увійти в систему, щоб розглянути коментар" #: ckanext/issues/controller/moderation.py:88 msgid "Comment permanently hidden" @@ -294,11 +212,11 @@ msgstr "[{site_title} Скарга] {dataset}" #: ckanext/issues/logic/action/action.py:63 msgid "Issue does not exist" -msgstr "Скарги не існує" +msgstr "Такої скарги не існує" #: ckanext/issues/logic/action/action.py:83 msgid "Issue marked as spam/abuse" -msgstr "Скарга помічена як спам/образа" +msgstr "Скаргу помічено, як спам/зловживання" #: ckanext/issues/logic/action/action.py:554 msgid "Issue has already been reported by this user" @@ -306,7 +224,7 @@ msgstr "Скарга вже була подана цим користуваче #: ckanext/issues/logic/validators/validators.py:13 msgid "{0} is not a valid status" -msgstr "{0} невірний статус" +msgstr "{0} неправильний статус" #: ckanext/issues/logic/validators/validators.py:44 #: ckanext/issues/logic/validators/validators.py:55 @@ -319,28 +237,28 @@ msgstr "Набір даних" #: ckanext/issues/logic/validators/validators.py:56 msgid "Organization" -msgstr "Організація" +msgstr "Розпорядник" #: ckanext/issues/logic/validators/validators.py:65 #: ckanext/issues/logic/validators/validators.py:78 msgid "Issue not found" -msgstr "Скарга не знайдена" +msgstr "Скаргу не знайдено" #: ckanext/issues/logic/validators/validators.py:87 msgid "Issue Comment not found" -msgstr "Коментар до скарги не знайдений" +msgstr "Коментар до скарги не знайдено" #: ckanext/issues/public/scripts/autocomplete-action-api.js:31 msgid "No matches found" -msgstr "Співпадінь немає" +msgstr "Збігів не знайдено" #: ckanext/issues/public/scripts/autocomplete-action-api.js:32 -msgid "Start typing…" -msgstr "Почати" +msgid "Start typing…" +msgstr "" #: ckanext/issues/public/scripts/autocomplete-action-api.js:34 msgid "Input is too short, must be at least one character" -msgstr "Ввід занадто короткий, має бути щонайменьше один знак" +msgstr "Вхідні дані - занадто короткі. Слід ввести щонайменше один символ" #: ckanext/issues/templates/issues/add.html:3 #: ckanext/issues/templates/issues/add.html:5 @@ -351,7 +269,7 @@ msgstr "Нова скарга" #: ckanext/issues/templates/issues/add.html:16 #: ckanext/issues/templates/issues/edit.html:14 msgid "The form contains invalid entries:" -msgstr "Форма містить неправильні знаки:" +msgstr "Форма містить неправильні записи:" #: ckanext/issues/templates/issues/add.html:27 #: ckanext/issues/templates/issues/edit.html:25 @@ -383,6 +301,10 @@ msgstr "Створити" msgid "All Issues" msgstr "Всі скарги" +#: ckanext/issues/templates/issues/all_issues.html:24 +msgid "There are currently no issues" +msgstr "" + #: ckanext/issues/templates/issues/base.html:9 msgid "Datasets" msgstr "Набори даних" @@ -392,8 +314,8 @@ msgid "What are issues?" msgstr "Що таке скарги?" #: ckanext/issues/templates/issues/base_form_page.html:16 -msgid "

    Issues are ... .

    " -msgstr "

    Скарги – це ... .

    " +msgid "Issues are the system for getting feedback about datasets." +msgstr "Скарги — це зворотній звя'зок між розпорядниками та користувачами." #: ckanext/issues/templates/issues/comment_moderation.html:8 #: ckanext/issues/templates/issues/moderation.html:8 @@ -409,14 +331,30 @@ msgstr "Розпорядники" #: ckanext/issues/templates/issues/comment_moderation.html:68 #: ckanext/issues/templates/issues/moderation.html:69 msgid "Not abuse" -msgstr "Не образа" +msgstr "Це не образа" -#: ckanext/issues/templates/issues/common.html:30 +#: ckanext/issues/templates/issues/common.html:18 #: ckanext/issues/templates/issues/organization_issues.html:76 #, python-format msgid "%s comments" msgstr "%s коментарі" +#: ckanext/issues/templates/issues/common.html:25 +msgid "Spam/Abuse - hidden from normal users" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:29 +msgid "Reported by you to admins" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:38 +msgid "Status" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:52 +msgid "Visibility" +msgstr "" + #: ckanext/issues/templates/issues/confirm_delete.html:3 #: ckanext/issues/templates/issues/confirm_delete.html:15 msgid "Confirm Delete" @@ -439,16 +377,7 @@ msgstr "Скарги" msgid "Search issues..." msgstr "Шукати скарги..." -#: ckanext/issues/templates/issues/dataset.html:28 -#: ckanext/issues/templates/issues/organization_issues.html:29 -#: ckanext/issues/templates/snippets/search_result_text.html:5 -msgid "{number} issue found" -msgid_plural "{number} issues found" -msgstr[0] "{number} скарг знайдено" -msgstr[1] "{number} скарг знайдено" -msgstr[2] "{number} скарг знайдено" - -#: ckanext/issues/templates/issues/dataset.html:38 +#: ckanext/issues/templates/issues/dataset.html:35 msgid "No issues" msgstr "Скарг немає" @@ -461,104 +390,180 @@ msgstr "Редагувати скаргу" msgid "Update" msgstr "Оновити" -#: ckanext/issues/templates/issues/show.html:125 +#: ckanext/issues/templates/issues/organization_issues.html:29 +#: ckanext/issues/templates/snippets/search_result_text.html:5 +msgid "{number} issue found" +msgid_plural "{number} issues found" +msgstr[0] "{number} скарга знайдена" +msgstr[1] "{number} скарги знайдено" +msgstr[2] "{number} скарг знайдено" + +#: ckanext/issues/templates/issues/show.html:76 +msgid "Owner" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:81 +msgid "commented" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:100 +msgid "Report abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:111 +msgid "You have reported this as abuse, cancel the report" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:112 +#: ckanext/issues/templates/issues/show.html:128 +msgid "Flag" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:127 +msgid "Mark as spam/abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:140 +msgid "Mark as NOT spam/abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:141 msgid "Not spam/abuse" -msgstr "Не спам/образа" +msgstr "Не є спамом чи зловживанням" + +#: ckanext/issues/templates/issues/show.html:149 +msgid "user reports this is spam/abuse" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:154 +msgid "Hidden from normal users" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:159 +msgid "Moderated" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:178 +msgid "opened this issue" +msgstr "" -#: ckanext/issues/templates/issues/show.html:174 +#: ckanext/issues/templates/issues/show.html:179 msgid "{number} comment" msgid_plural "{number} comments" -msgstr[0] "{number} комментарів" -msgstr[1] "{number} комментарів" -msgstr[2] "{number} комментарів" +msgstr[0] "{number} коментар" +msgstr[1] "{number} коментарі" +msgstr[2] "{number} коментарів" -#: ckanext/issues/templates/issues/show.html:208 +#: ckanext/issues/templates/issues/show.html:204 +msgid "Leave a comment" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:207 +msgid "You can use Markdown formatting here" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:213 msgid "Are you sure you want to delete this issue?" msgstr "Ви впевнені, що хочете видалити цю скаргу?" -#: ckanext/issues/templates/issues/show.html:209 +#: ckanext/issues/templates/issues/show.html:214 msgid "Delete" msgstr "Видалити" -#: ckanext/issues/templates/issues/show.html:214 +#: ckanext/issues/templates/issues/show.html:219 msgid "Close" msgstr "Закрити" -#: ckanext/issues/templates/issues/show.html:218 +#: ckanext/issues/templates/issues/show.html:223 msgid "Re-open" msgstr "Відкрити знову" -#: ckanext/issues/templates/issues/show.html:224 +#: ckanext/issues/templates/issues/show.html:229 msgid "Comment" msgstr "Коментар" -#: ckanext/issues/templates/issues/show.html:231 +#: ckanext/issues/templates/issues/show.html:236 msgid "Login to comment" msgstr "Увійдіть, щоб коментувати" -#: ckanext/issues/templates/issues/show.html:256 +#: ckanext/issues/templates/issues/show.html:247 +msgid "All issues of dataset" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:247 +msgid "All issues of this dataset" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:255 +msgid "Assignee" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:262 msgid "This issue has been assigned to an administrator for the publisher" msgstr "Ця скарга була закріплена за адміністратором розпорядника" -#: ckanext/issues/templates/issues/show.html:258 +#: ckanext/issues/templates/issues/show.html:264 msgid "No one" msgstr "Нікого" -#: ckanext/issues/templates/issues/show.html:279 +#: ckanext/issues/templates/issues/show.html:270 +msgid "Change Assignee" +msgstr "" + +#: ckanext/issues/templates/issues/show.html:280 msgid "Assign" msgstr "Закріпити" -#: ckanext/issues/templates/issues/email/new_comment.html:4 -#: ckanext/issues/templates/issues/email/new_issue.html:4 -msgid "The dataset is: " -msgstr "Набір даних: " - #: ckanext/issues/templates/issues/email/new_issue.html:2 msgid "On" -msgstr "Вкл" +msgstr "Увімк" #: ckanext/issues/templates/issues/email/new_issue.html:2 msgid "a user has raised an issue with one of the datasets from organization" -msgstr "користувач почав обговорення набору даних організації" +msgstr "користувач почав обговорення скарги з одного з наборів даних розпорядника" -#: ckanext/issues/templates/issues/email/new_issue.html:5 +#: ckanext/issues/templates/issues/email/new_issue.html:4 +msgid "The dataset is: " +msgstr "Набір даних: " + +#: ckanext/issues/templates/issues/email/new_issue.html:6 msgid "The issue is:" msgstr "Скарга: " -#: ckanext/issues/templates/issues/email/new_issue.html:10 +#: ckanext/issues/templates/issues/email/new_issue.html:11 msgid "Please correct the problem or add an initial comment about the issue at: " -msgstr "Будь ласка вирішіть проблему чи додайте перший коментар до скарги: " +msgstr "Будь ласка, вирішіть проблему чи додайте перший коментар до скарги: " -#: ckanext/issues/templates/issues/email/new_issue.html:12 +#: ckanext/issues/templates/issues/email/new_issue.html:13 msgid "Thank you," msgstr "Дякуємо," -#: ckanext/issues/templates/issues/email/new_issue.html:14 +#: ckanext/issues/templates/issues/email/new_issue.html:15 msgid "The" msgstr "" -#: ckanext/issues/templates/issues/email/new_issue.html:14 +#: ckanext/issues/templates/issues/email/new_issue.html:15 msgid "team" msgstr "команда" -#: ckanext/issues/templates/issues/email/new_issue.html:18 +#: ckanext/issues/templates/issues/email/new_issue.html:19 msgid "Issue:" msgstr "Скарга:" -#: ckanext/issues/templates/issues/email/new_issue.html:19 +#: ckanext/issues/templates/issues/email/new_issue.html:20 msgid "Dataset:" msgstr "Набір даних:" -#: ckanext/issues/templates/issues/email/new_issue.html:20 +#: ckanext/issues/templates/issues/email/new_issue.html:21 msgid "User:" msgstr "Користувач:" #: ckanext/issues/templates/snippets/search_result_text.html:3 msgid "{number} issue found for \"{query}\"" msgid_plural "{number} issues found for \"{query}\"" -msgstr[0] "{number} скарг знайдено по \"{query}\" -msgstr[1] "{number} скарг знайдено по \"{query}\" -msgstr[2] "{number} скарг знайдено по \"{query}\" +msgstr[0] "{number} скарга знайдена по \"{query}\\" +msgstr[1] "{number} скарги знайдено по \"{query}\\" +msgstr[2] "{number} скарг знайдено по \"{query}\\" #: ckanext/issues/templates/snippets/search_result_text.html:4 msgid "No issues found for \"{query}\"" @@ -567,3 +572,10 @@ msgstr "Скарги на \"{query}\" не знайдені" #: ckanext/issues/templates/snippets/search_result_text.html:6 msgid "No issues found" msgstr "Скарги не знайдені" + +#~ msgid "Start typing…" +#~ msgstr "Вводьте текст" + +#~ msgid "

    Issues are ... .

    " +#~ msgstr "

    Скарги – це ... .

    " + diff --git a/ckanext/issues/templates/issues/base_form_page.html b/ckanext/issues/templates/issues/base_form_page.html index b96c9acc..bad1dc9a 100644 --- a/ckanext/issues/templates/issues/base_form_page.html +++ b/ckanext/issues/templates/issues/base_form_page.html @@ -13,7 +13,7 @@

    {% block page_heading %}{% endblock %}

    {{ _('What are issues?') }}

    -

    {% trans %}Issues are ... .{% endtrans %}

    +

    {% trans %}Issues are the system for getting feedback about datasets.{% endtrans %}

    {% endblock %} From 41baeac82d2ff7495bc66561167f110349a4f162 Mon Sep 17 00:00:00 2001 From: DaleDMT Date: Mon, 21 May 2018 14:01:14 +0300 Subject: [PATCH 14/29] Clean html in templates --- .../templates/issues/email/new_comment.html | 22 +++++++++---------- .../templates/issues/email/new_issue.html | 20 ++++++++--------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/ckanext/issues/templates/issues/email/new_comment.html b/ckanext/issues/templates/issues/email/new_comment.html index 23fb06fa..ef7c9dbd 100644 --- a/ckanext/issues/templates/issues/email/new_comment.html +++ b/ckanext/issues/templates/issues/email/new_comment.html @@ -1,19 +1,19 @@ -

    {% trans %}A user {{ user.fullname }} has added a comment to one of your issues on {{ site_title }}.{% endtrans %}

    +{% trans %}A user {{ user.fullname }} has added a comment to one of your issues on {{ site_title }}.{% endtrans %} -

    {% trans %}The dataset is{% endtrans %}: {{ dataset.title }}
    -{% trans %}The issue is{% endtrans %}: {{ issue_subject }}
    -{% trans %}The comment is{% endtrans %}:
    +{% trans %}The dataset is{% endtrans %}: {{ dataset.title }} +{% trans %}The issue is{% endtrans %}: {{ issue_subject }} +{% trans %}The comment is{% endtrans %}: > {{ comment.comment|wordwrap(width=76)|replace('\n', '\n> '|safe) }} -

    -

    {% trans %}In order to respond to the comment, please see the issue at{% endtrans %}: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. {% trans %}Once the issue has been resolved, click 'Close issue'.{% endtrans %}

    -

    {% trans %}Thank you{% endtrans %}

    +{% trans %}In order to respond to the comment, please see the issue at{% endtrans %}: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. {% trans %}Once the issue has been resolved, click 'Close issue'.{% endtrans %} -

    {% trans %}The {{ site_title }} team{% endtrans %}

    +{% trans %}Thank you{% endtrans %} -

    --

    +{% trans %}The {{ site_title }} team{% endtrans %} -

    {% trans %}Issue{% endtrans %}: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}

    -

    {% trans %}Dataset{% endtrans %}: {{ h.url_for('dataset_read', id=dataset.name, qualified=True) }}

    +-- + +{% trans %}Issue{% endtrans %}: {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }} +{% trans %}Dataset{% endtrans %}: {{ h.url_for('dataset_read', id=dataset.name, qualified=True) }} diff --git a/ckanext/issues/templates/issues/email/new_issue.html b/ckanext/issues/templates/issues/email/new_issue.html index dc9acda0..91a08b8d 100644 --- a/ckanext/issues/templates/issues/email/new_issue.html +++ b/ckanext/issues/templates/issues/email/new_issue.html @@ -1,22 +1,22 @@ -

    {% trans %}On{% endtrans %} {{ site_title }} {% trans %}a user has raised an issue with one of the datasets from organization{% endtrans %} '{{ recipient.organization_title }}', for which you are an {{ recipient.capacity }}.' for which you are an {{ capacity }}.

    +{% trans %}On{% endtrans %} {{ site_title }} {% trans %}a user has raised an issue with one of the datasets from organization{% endtrans %} '{{ recipient.organization_title }}', for which you are an {{ recipient.capacity }}.' for which you are an {{ capacity }}. -

    {% trans %}The dataset is: {% endtrans %}{{ dataset.title }}

    +{% trans %}The dataset is: {% endtrans %}{{ dataset.title }} -

    {% trans %}The issue is:{% endtrans %} +{% trans %}The issue is:{% endtrans %} > {{ issue_subject|wordwrap(width=76)|replace('\n', '\n> '|safe) }} > {{ issue.description|wordwrap(width=76)|replace('\n', '\n> '|safe) }} -

    -

    {% trans %}Please correct the problem or add an initial comment about the issue at: {% endtrans %}{{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. Once the issue has been resolved, click 'Close issue'.

    -

    {% trans %}Thank you,{% endtrans %}

    +{% trans %}Please correct the problem or add an initial comment about the issue at: {% endtrans %}{{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }}. Once the issue has been resolved, click 'Close issue'. -

    {% trans %}The{% endtrans %} {{ site_title }} {% trans %}team{% endtrans %}

    +{% trans %}Thank you,{% endtrans %} -

    --

    +{% trans %}The{% endtrans %} {{ site_title }} {% trans %}team{% endtrans %} -

    {% trans %}Issue:{% endtrans %} {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }} +-- + +{% trans %}Issue:{% endtrans %} {{ h.url_for('issues_show', dataset_id=dataset.name, issue_number=issue.number, qualified=True) }} {% trans %}Dataset:{% endtrans %} {{ h.url_for('dataset_read', id=dataset.name, qualified=True) }} {% trans %}User:{% endtrans %} {{ user.fullname or user.name }} -

    + From 51fddef497fa536a9ba44e42c2ddc1b6bc570749 Mon Sep 17 00:00:00 2001 From: Oleg Serbokryl Date: Wed, 6 Jun 2018 16:07:19 +0300 Subject: [PATCH 15/29] Update translates (#10) * Updated translates * translated email, errors. Updated translates --- ckanext/issues/controller/controller.py | 2 +- ckanext/issues/i18n/ckanext-issues.pot | 24 ++- .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo | Bin 11682 -> 13345 bytes .../i18n/uk_UA/LC_MESSAGES/ckanext-issues.po | 201 ++++++++++-------- ckanext/issues/templates/issues/add.html | 4 +- ckanext/issues/templates/issues/common.html | 4 +- .../templates/issues/email/new_issue.html | 2 +- 7 files changed, 143 insertions(+), 94 deletions(-) diff --git a/ckanext/issues/controller/controller.py b/ckanext/issues/controller/controller.py index 5beae8f1..07e73eec 100644 --- a/ckanext/issues/controller/controller.py +++ b/ckanext/issues/controller/controller.py @@ -103,7 +103,7 @@ def new(self, dataset_id, resource_id=None): }) if not data_dict['title']: - c.error_summary['title'] = ["Please enter a title"] + c.error_summary[_('title')] = [_("Please enter a title")] c.errors = c.error_summary if not c.error_summary: # save and redirect diff --git a/ckanext/issues/i18n/ckanext-issues.pot b/ckanext/issues/i18n/ckanext-issues.pot index 0e2100c0..dc443bdf 100644 --- a/ckanext/issues/i18n/ckanext-issues.pot +++ b/ckanext/issues/i18n/ckanext-issues.pot @@ -8,14 +8,14 @@ msgid "" msgstr "" "Project-Id-Version: ckanext-issues 0.3\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-05-16 16:14+0000\n" +"POT-Creation-Date: 2018-06-06 13:03+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" +"Generated-By: Babel 2.5.3\n" #: ckanext/issues/auth.py:20 msgid "User {0} not authorized for action on issue {1}" @@ -58,6 +58,14 @@ msgstr "" msgid "Not authorized to add a new issue" msgstr "" +#: ckanext/issues/controller/controller.py:106 +msgid "title" +msgstr "" + +#: ckanext/issues/controller/controller.py:106 +msgid "Please enter a title" +msgstr "" + #: ckanext/issues/controller/controller.py:113 msgid "Your issue has been registered, thank you for the feedback" msgstr "" @@ -330,6 +338,14 @@ msgstr "" msgid "Not abuse" msgstr "" +#: ckanext/issues/templates/issues/common.html:12 +msgid "Opened by" +msgstr "" + +#: ckanext/issues/templates/issues/common.html:14 +msgid "updated" +msgstr "" + #: ckanext/issues/templates/issues/common.html:18 #: ckanext/issues/templates/issues/organization_issues.html:76 #, python-format @@ -529,6 +545,10 @@ msgstr "" msgid "Please correct the problem or add an initial comment about the issue at: " msgstr "" +#: ckanext/issues/templates/issues/email/new_issue.html:11 +msgid "Once the issue has been resolved, click 'Close issue'." +msgstr "" + #: ckanext/issues/templates/issues/email/new_issue.html:13 msgid "Thank you," msgstr "" diff --git a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.mo index 85b7775dabbc95f73848ccdacf59273dc0665dcc..def316910e4f611e5e59a1de158ae88715450389 100644 GIT binary patch literal 13345 zcmdU!Yj9lUdB;x^+7vY1BGQ9}>PK?eG7* z=d5;DN3t{IOFZ)a_q^wQpZ9s6=l@*J+3&vZf-eUA`yKvY#{bd3#To?qu40eKxz%}62;5P8*z{BACz^{NT2~H>DuY&L4 z`di@7g5OETUkBgC^}m6?1ilI8zzb303h>v!_k(wV+V@`YB5*IL{k{Zh{bBH8@CDHJ zP4HDv^ZpFfIsX#mFZc&OWQzX)b^lH967Vgs2fUcc(svaoz52m-gC+0-;25a$?*l&u zo&vT1_dx0SCaCrAW|8J!21i!(Ftn( zwV>?2f{)9=b;cO9b((`*DTLs?-#fJ+}Vhz{< z%3l58N5LW}|2__C{S(Rkr$O=ZMUcPXH9n;G-+|)Ie}TIH0S0xy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SAGES/ckanext-issues.po index 1b079b4e..1a881826 100644 --- a/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po +++ b/ckanext/issues/i18n/uk_UA/LC_MESSAGES/ckanext-issues.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: ckanext-issues 0.3\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2018-05-16 16:14+0000\n" +"POT-Creation-Date: 2018-06-06 13:03+0000\n" "PO-Revision-Date: 2018-03-20 22:22+0000\n" "Last-Translator: FULL NAME \n" "Language: uk_UA\n" @@ -18,11 +18,11 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.3.4\n" +"Generated-By: Babel 2.5.3\n" #: ckanext/issues/auth.py:20 msgid "User {0} not authorized for action on issue {1}" -msgstr "Користувач {0} не має достатньо прав для роботи зі скаргами {1}" +msgstr "Користувач {0} не має достатньо прав для роботи зі пропозиціями {1}" #: ckanext/issues/auth.py:42 msgid "User {0} not authorized for action" @@ -30,11 +30,11 @@ msgstr "Користувач {0} не має достатньо прав для #: ckanext/issues/auth.py:91 msgid "User {user} not authorized for action on issue {issue}" -msgstr "Користувач {user} не має достатньо прав для роботи зі скаргами {issue}" +msgstr "Користувач {user} не має достатньо прав для роботи зі пропозиціями {issue}" #: ckanext/issues/controller/controller.py:48 msgid "Issues have not been enabled for this dataset" -msgstr "Скарги недоступні для цього набору даних" +msgstr "Пропозиції недоступні для цього набору даних" #: ckanext/issues/controller/controller.py:51 #: ckanext/issues/controller/controller.py:69 @@ -43,32 +43,40 @@ msgstr "Набір даних не знайдено" #: ckanext/issues/controller/controller.py:54 msgid "Unauthorized to view issues for this dataset" -msgstr "У вас немає доступу для перегляду скарг по цьому набору даних" +msgstr "У вас немає доступу для перегляду пропозицій по цьому набору даних" #: ckanext/issues/controller/controller.py:66 msgid "Issues have not been enabled for this organization" -msgstr "Скарги недоступні для цього розпорядника" +msgstr "Пропозиції недоступні для цього розпорядника" #: ckanext/issues/controller/controller.py:72 msgid "Unauthorized to view issues for this organization" -msgstr "У вас немає доступу для перегляду скарг на цього розпорядника" +msgstr "У вас немає доступу для перегляду пропозицій на цього розпорядника" #: ckanext/issues/controller/controller.py:77 msgid "Please login to add a new issue" -msgstr "Будь ласка, увійдіть, щоб додати нову скаргу" +msgstr "Будь ласка, увійдіть, щоб додати нову пропозицію" #: ckanext/issues/controller/controller.py:86 msgid "Not authorized to add a new issue" -msgstr "У вас немає доступу для додавання нової скарги" +msgstr "У вас немає доступу для додавання нової пропозиції" + +#: ckanext/issues/controller/controller.py:106 +msgid "title" +msgstr "Назва" + +#: ckanext/issues/controller/controller.py:106 +msgid "Please enter a title" +msgstr "Будь ласка, введіть назву" #: ckanext/issues/controller/controller.py:113 msgid "Your issue has been registered, thank you for the feedback" -msgstr "Ваша скарга була зареєстрована. Дякуємо за зворотній зв'язок" +msgstr "Ваша пропозиція була зареєстрована. Дякуємо за зворотній зв'язок" #: ckanext/issues/controller/controller.py:131 #: ckanext/issues/controller/controller.py:134 msgid "Issue not found: {0}" -msgstr "Скаргу не знайдено: {0}" +msgstr "Пропозицію не знайдено: {0}" #: ckanext/issues/controller/controller.py:178 msgid "Invalid request" @@ -84,19 +92,19 @@ msgstr "Поле \"Комментар\" не може бути порожнім" #: ckanext/issues/controller/controller.py:215 msgid "Issue closed" -msgstr "Скаргу закрито" +msgstr "Пропозицію закрито" #: ckanext/issues/controller/controller.py:217 msgid "Issue re-opened" -msgstr "Скаргу знову відкрито" +msgstr "Пропозицію знову відкрито" #: ckanext/issues/controller/controller.py:255 msgid "Unauthorized to delete issue {0}" -msgstr "У вас недостатньо прав доступу, щоб видалити скаргу {0}" +msgstr "У вас недостатньо прав доступу, щоб видалити пропозицію {0}" #: ckanext/issues/controller/controller.py:260 msgid "Issue {0} has been deleted." -msgstr "Скаргу {0} видалено." +msgstr "Пропозицію {0} видалено." #: ckanext/issues/controller/controller.py:278 msgid "User {0} does not exist" @@ -108,11 +116,11 @@ msgstr "Закріплена за {user}" #: ckanext/issues/controller/controller.py:308 msgid "Unauthorized to assign users to issue" -msgstr "У вас немає прав доступу для закріплення користувачів за скаргою" +msgstr "У вас немає прав доступу для закріплення користувачів за пропозицією" #: ckanext/issues/controller/controller.py:322 msgid "You must be logged in to report issues" -msgstr "Ви повинні увійти, щоб подавати скарги" +msgstr "Ви повинні увійти, щоб подавати пропозиції" #: ckanext/issues/controller/controller.py:333 #: ckanext/issues/controller/controller.py:370 @@ -126,15 +134,15 @@ msgstr "Позначено як зловживання/спам." #: ckanext/issues/controller/controller.py:337 msgid "Issue is visible." -msgstr "Скарга - видима." +msgstr "Пропозиція - видима." #: ckanext/issues/controller/controller.py:339 msgid "Issue is invisible to normal users." -msgstr "Скарга - невидима для звичайних користувачів." +msgstr "Пропозиція - невидима для звичайних користувачів." #: ckanext/issues/controller/controller.py:342 msgid "Issue reported to an administrator" -msgstr "Скаргу надіслано адміністратору" +msgstr "Пропозицію надіслано адміністратору" #: ckanext/issues/controller/controller.py:358 msgid "You must be logged in to report comments" @@ -154,19 +162,19 @@ msgstr "Коментар надіслано адміністратору" #: ckanext/issues/controller/controller.py:402 msgid "Issue report cleared" -msgstr "Скаргу розглянуто" +msgstr "Пропозицію розглянуто" #: ckanext/issues/controller/controller.py:407 msgid "You must be logged in clear abuse reports" -msgstr "Ви повинні увійти в систему, щоб розглянути скаргу" +msgstr "Ви повинні увійти в систему, щоб розглянути пропозицію" #: ckanext/issues/controller/controller.py:425 msgid "Spam/abuse report cleared" -msgstr "Спам/скаргу розглянуто" +msgstr "Спам/пропозицію розглянуто" #: ckanext/issues/controller/controller.py:430 msgid "You must be logged in to clear abuse reports" -msgstr "Ви повинні увійти в систему, щоб розглянути скаргу" +msgstr "Ви повинні увійти в систему, щоб розглянути пропозицію" #: ckanext/issues/controller/controller.py:447 #: ckanext/issues/controller/controller.py:487 @@ -180,15 +188,15 @@ msgstr "Розпорядника не знайдено" #: ckanext/issues/controller/moderation.py:22 msgid "You must be logged in to moderate issues" -msgstr "Ви повинні увійти в систему, щоб опрацювати скарги" +msgstr "Ви повинні увійти в систему, щоб опрацювати пропозиції" #: ckanext/issues/controller/moderation.py:29 msgid "Issue permanently hidden" -msgstr "Скаргу приховано назавжди" +msgstr "Пропозицію приховано назавжди" #: ckanext/issues/controller/moderation.py:33 msgid "All issue reports cleared" -msgstr "Усі скарги розглянуті" +msgstr "Усі пропозиції розглянуті" #: ckanext/issues/controller/moderation.py:81 msgid "You must be logged in to moderate comment" @@ -200,7 +208,7 @@ msgstr "Коментар приховано назавжди" #: ckanext/issues/controller/moderation.py:92 msgid "All comment reports cleared" -msgstr "Всі коментарі до скарг розглянуто" +msgstr "Всі коментарі до пропозиції розглянуто" #: ckanext/issues/controller/show.py:18 msgid "No description provided" @@ -208,19 +216,19 @@ msgstr "Опису немає" #: ckanext/issues/lib/helpers.py:202 msgid "[{site_title} Issue] {dataset}" -msgstr "[{site_title} Скарга] {dataset}" +msgstr "[{site_title} Пропозиція] {dataset}" #: ckanext/issues/logic/action/action.py:63 msgid "Issue does not exist" -msgstr "Такої скарги не існує" +msgstr "Такої пропозиції не існує" #: ckanext/issues/logic/action/action.py:83 msgid "Issue marked as spam/abuse" -msgstr "Скаргу помічено, як спам/зловживання" +msgstr "Пропозицію помічено, як спам/зловживання" #: ckanext/issues/logic/action/action.py:554 msgid "Issue has already been reported by this user" -msgstr "Скарга вже була подана цим користувачем" +msgstr "Пропозиція вже була подана цим користувачем" #: ckanext/issues/logic/validators/validators.py:13 msgid "{0} is not a valid status" @@ -242,11 +250,11 @@ msgstr "Розпорядник" #: ckanext/issues/logic/validators/validators.py:65 #: ckanext/issues/logic/validators/validators.py:78 msgid "Issue not found" -msgstr "Скаргу не знайдено" +msgstr "Пропозицію не знайдено" #: ckanext/issues/logic/validators/validators.py:87 msgid "Issue Comment not found" -msgstr "Коментар до скарги не знайдено" +msgstr "Коментар до пропозиції не знайдено" #: ckanext/issues/public/scripts/autocomplete-action-api.js:31 msgid "No matches found" @@ -254,7 +262,7 @@ msgstr "Збігів не знайдено" #: ckanext/issues/public/scripts/autocomplete-action-api.js:32 msgid "Start typing…" -msgstr "" +msgstr "Почав писати..." #: ckanext/issues/public/scripts/autocomplete-action-api.js:34 msgid "Input is too short, must be at least one character" @@ -264,7 +272,7 @@ msgstr "Вхідні дані - занадто короткі. Слід ввес #: ckanext/issues/templates/issues/add.html:5 #: ckanext/issues/templates/issues/dataset.html:22 msgid "New Issue" -msgstr "Нова скарга" +msgstr "Нова пропозиція" #: ckanext/issues/templates/issues/add.html:16 #: ckanext/issues/templates/issues/edit.html:14 @@ -299,11 +307,11 @@ msgstr "Створити" #: ckanext/issues/templates/issues/all_issues.html:5 #: ckanext/issues/templates/issues/all_issues.html:12 msgid "All Issues" -msgstr "Всі скарги" +msgstr "Всі пропозиції" #: ckanext/issues/templates/issues/all_issues.html:24 msgid "There are currently no issues" -msgstr "" +msgstr "Наразі немає жодних пропозицій" #: ckanext/issues/templates/issues/base.html:9 msgid "Datasets" @@ -311,16 +319,16 @@ msgstr "Набори даних" #: ckanext/issues/templates/issues/base_form_page.html:14 msgid "What are issues?" -msgstr "Що таке скарги?" +msgstr "Що таке пропозиції?" #: ckanext/issues/templates/issues/base_form_page.html:16 msgid "Issues are the system for getting feedback about datasets." -msgstr "Скарги — це зворотній звя'зок між розпорядниками та користувачами." +msgstr "Пропозиції — це зворотній звя'зок між розпорядниками та користувачами." #: ckanext/issues/templates/issues/comment_moderation.html:8 #: ckanext/issues/templates/issues/moderation.html:8 msgid "Reported issues" -msgstr "Подані скарги" +msgstr "Подані пропозиції" #: ckanext/issues/templates/issues/comment_moderation.html:28 #: ckanext/issues/templates/issues/moderation.html:28 @@ -333,6 +341,14 @@ msgstr "Розпорядники" msgid "Not abuse" msgstr "Це не образа" +#: ckanext/issues/templates/issues/common.html:12 +msgid "Opened by" +msgstr "Створив" + +#: ckanext/issues/templates/issues/common.html:14 +msgid "updated" +msgstr "оновлено" + #: ckanext/issues/templates/issues/common.html:18 #: ckanext/issues/templates/issues/organization_issues.html:76 #, python-format @@ -341,19 +357,19 @@ msgstr "%s коментарі" #: ckanext/issues/templates/issues/common.html:25 msgid "Spam/Abuse - hidden from normal users" -msgstr "" +msgstr "Спам/Зловживання - приховано від звичайних користувачів" #: ckanext/issues/templates/issues/common.html:29 msgid "Reported by you to admins" -msgstr "" +msgstr "Ваше повідомлення надіслане адміністратору." #: ckanext/issues/templates/issues/common.html:38 msgid "Status" -msgstr "" +msgstr "Статус" #: ckanext/issues/templates/issues/common.html:52 msgid "Visibility" -msgstr "" +msgstr "Відкритість" #: ckanext/issues/templates/issues/confirm_delete.html:3 #: ckanext/issues/templates/issues/confirm_delete.html:15 @@ -362,7 +378,7 @@ msgstr "Підтвердити видалення" #: ckanext/issues/templates/issues/confirm_delete.html:11 msgid "Are you sure you want to delete issue - {0}?" -msgstr "Ви впевнені, що хочете видалити скаргу - {0}?" +msgstr "Ви впевнені, що хочете видалити пропозицію - {0}?" #: ckanext/issues/templates/issues/dataset.html:14 #: ckanext/issues/templates/issues/dataset.html:20 @@ -370,21 +386,21 @@ msgstr "Ви впевнені, що хочете видалити скаргу - #: ckanext/issues/templates/issues/organization_issues.html:22 #: ckanext/issues/templates/issues/show.html:13 msgid "Issues" -msgstr "Скарги" +msgstr "Пропозиції" #: ckanext/issues/templates/issues/dataset.html:26 #: ckanext/issues/templates/issues/organization_issues.html:27 msgid "Search issues..." -msgstr "Шукати скарги..." +msgstr "Шукати пропозиції..." #: ckanext/issues/templates/issues/dataset.html:35 msgid "No issues" -msgstr "Скарг немає" +msgstr "Пропозицій немає" #: ckanext/issues/templates/issues/edit.html:3 #: ckanext/issues/templates/issues/edit.html:5 msgid "Edit Issue" -msgstr "Редагувати скаргу" +msgstr "Редагувати пропозицію" #: ckanext/issues/templates/issues/edit.html:36 msgid "Update" @@ -394,38 +410,38 @@ msgstr "Оновити" #: ckanext/issues/templates/snippets/search_result_text.html:5 msgid "{number} issue found" msgid_plural "{number} issues found" -msgstr[0] "{number} скарга знайдена" -msgstr[1] "{number} скарги знайдено" -msgstr[2] "{number} скарг знайдено" +msgstr[0] "{number} пропозицію знайдена" +msgstr[1] "{number} пропозиції знайдено" +msgstr[2] "{number} пропозицій знайдено" #: ckanext/issues/templates/issues/show.html:76 msgid "Owner" -msgstr "" +msgstr "Власник" #: ckanext/issues/templates/issues/show.html:81 msgid "commented" -msgstr "" +msgstr "прокоментовано" #: ckanext/issues/templates/issues/show.html:100 msgid "Report abuse" -msgstr "" +msgstr "Повідомити про зловживання" #: ckanext/issues/templates/issues/show.html:111 msgid "You have reported this as abuse, cancel the report" -msgstr "" +msgstr "Ваше повідомлення про зловживання зафіксовано. Бажаєте скасувати запит?" #: ckanext/issues/templates/issues/show.html:112 #: ckanext/issues/templates/issues/show.html:128 msgid "Flag" -msgstr "" +msgstr "Cигналізувати" #: ckanext/issues/templates/issues/show.html:127 msgid "Mark as spam/abuse" -msgstr "" +msgstr "Помітити це як спам/зловживання" #: ckanext/issues/templates/issues/show.html:140 msgid "Mark as NOT spam/abuse" -msgstr "" +msgstr "Помітити це як НЕ спам/зловживання" #: ckanext/issues/templates/issues/show.html:141 msgid "Not spam/abuse" @@ -433,19 +449,19 @@ msgstr "Не є спамом чи зловживанням" #: ckanext/issues/templates/issues/show.html:149 msgid "user reports this is spam/abuse" -msgstr "" +msgstr "користувач помітив це як спам/зловживання" #: ckanext/issues/templates/issues/show.html:154 msgid "Hidden from normal users" -msgstr "" +msgstr "Приховано від звичайних користувачів" #: ckanext/issues/templates/issues/show.html:159 msgid "Moderated" -msgstr "" +msgstr "Змодеровано" #: ckanext/issues/templates/issues/show.html:178 msgid "opened this issue" -msgstr "" +msgstr "створив пропозицію" #: ckanext/issues/templates/issues/show.html:179 msgid "{number} comment" @@ -456,15 +472,15 @@ msgstr[2] "{number} коментарів" #: ckanext/issues/templates/issues/show.html:204 msgid "Leave a comment" -msgstr "" +msgstr "Залишити коментар" #: ckanext/issues/templates/issues/show.html:207 msgid "You can use Markdown formatting here" -msgstr "" +msgstr "Тут можете використовувати форматування." #: ckanext/issues/templates/issues/show.html:213 msgid "Are you sure you want to delete this issue?" -msgstr "Ви впевнені, що хочете видалити цю скаргу?" +msgstr "Ви впевнені, що хочете видалити цю пропозицію?" #: ckanext/issues/templates/issues/show.html:214 msgid "Delete" @@ -488,19 +504,19 @@ msgstr "Увійдіть, щоб коментувати" #: ckanext/issues/templates/issues/show.html:247 msgid "All issues of dataset" -msgstr "" +msgstr "Всі пропозиції набору даних" #: ckanext/issues/templates/issues/show.html:247 msgid "All issues of this dataset" -msgstr "" +msgstr "Всі пропозиції" #: ckanext/issues/templates/issues/show.html:255 msgid "Assignee" -msgstr "" +msgstr "Призначено" #: ckanext/issues/templates/issues/show.html:262 msgid "This issue has been assigned to an administrator for the publisher" -msgstr "Ця скарга була закріплена за адміністратором розпорядника" +msgstr "Ця пропозиція була закріплена за адміністратором розпорядника" #: ckanext/issues/templates/issues/show.html:264 msgid "No one" @@ -508,7 +524,7 @@ msgstr "Нікого" #: ckanext/issues/templates/issues/show.html:270 msgid "Change Assignee" -msgstr "" +msgstr "Змінити уповноваженого" #: ckanext/issues/templates/issues/show.html:280 msgid "Assign" @@ -520,7 +536,9 @@ msgstr "Увімк" #: ckanext/issues/templates/issues/email/new_issue.html:2 msgid "a user has raised an issue with one of the datasets from organization" -msgstr "користувач почав обговорення скарги з одного з наборів даних розпорядника" +msgstr "" +"користувач почав обговорення пропозиції з одного з наборів даних " +"розпорядника" #: ckanext/issues/templates/issues/email/new_issue.html:4 msgid "The dataset is: " @@ -528,11 +546,15 @@ msgstr "Набір даних: " #: ckanext/issues/templates/issues/email/new_issue.html:6 msgid "The issue is:" -msgstr "Скарга: " +msgstr "Пропозиція: " #: ckanext/issues/templates/issues/email/new_issue.html:11 msgid "Please correct the problem or add an initial comment about the issue at: " -msgstr "Будь ласка, вирішіть проблему чи додайте перший коментар до скарги: " +msgstr "Будь ласка, вирішіть проблему чи додайте перший коментар до пропозиції: " + +#: ckanext/issues/templates/issues/email/new_issue.html:11 +msgid "Once the issue has been resolved, click 'Close issue'." +msgstr "Якщо пропозиція прийнята, то виберить 'Закрити'." #: ckanext/issues/templates/issues/email/new_issue.html:13 msgid "Thank you," @@ -548,7 +570,7 @@ msgstr "команда" #: ckanext/issues/templates/issues/email/new_issue.html:19 msgid "Issue:" -msgstr "Скарга:" +msgstr "Пропозиція:" #: ckanext/issues/templates/issues/email/new_issue.html:20 msgid "Dataset:" @@ -561,21 +583,28 @@ msgstr "Користувач:" #: ckanext/issues/templates/snippets/search_result_text.html:3 msgid "{number} issue found for \"{query}\"" msgid_plural "{number} issues found for \"{query}\"" -msgstr[0] "{number} скарга знайдена по \"{query}\\" -msgstr[1] "{number} скарги знайдено по \"{query}\\" -msgstr[2] "{number} скарг знайдено по \"{query}\\" +msgstr[0] "{number} пропозиція знайдена по \"{query}\\" +msgstr[1] "{number} пропозиції знайдено по \"{query}\\" +msgstr[2] "{number} пропозиції знайдено по \"{query}\\" #: ckanext/issues/templates/snippets/search_result_text.html:4 msgid "No issues found for \"{query}\"" -msgstr "Скарги на \"{query}\" не знайдені" +msgstr "Пропозиції на \"{query}\" не знайдені" #: ckanext/issues/templates/snippets/search_result_text.html:6 msgid "No issues found" -msgstr "Скарги не знайдені" +msgstr "Пропозиції не знайдені" + +# Don't delete +msgid "Open" +msgstr "Відкрита" + +msgid "Closed" +msgstr "Закрита" -#~ msgid "Start typing…" -#~ msgstr "Вводьте текст" +msgid "Visible" +msgstr "Відкриті" -#~ msgid "

    Issues are ... .

    " -#~ msgstr "

    Скарги – це ... .

    " +msgid "Hidden" +msgstr "Закриті" diff --git a/ckanext/issues/templates/issues/add.html b/ckanext/issues/templates/issues/add.html index bdee15ea..645d4779 100644 --- a/ckanext/issues/templates/issues/add.html +++ b/ckanext/issues/templates/issues/add.html @@ -15,8 +15,8 @@

    {{ _('The form contains invalid entries:') }}

      -set {% for key, error in c.error_summary.items() %} -
    • {{ key }}: {{ error[0] }}
    • + {% for key, error in c.error_summary.items() %} +
    • {{ _(key) }}: {{ _(error[0]) }}
    • {% endfor %}
    diff --git a/ckanext/issues/templates/issues/common.html b/ckanext/issues/templates/issues/common.html index 1dcb7103..0094ff74 100644 --- a/ckanext/issues/templates/issues/common.html +++ b/ckanext/issues/templates/issues/common.html @@ -9,9 +9,9 @@