Fix some typos

stable
David Barragán Merino 2015-04-16 20:30:12 +02:00
parent 98a9774ca0
commit 86e39be7a4
3 changed files with 12 additions and 7 deletions

View File

@ -108,12 +108,16 @@ WebhookDirective = ($rs, $repo, $confirm, $loading, $translate) ->
updateShowHideHistoryText = () -> updateShowHideHistoryText = () ->
textElement = $el.find(".toggle-history") textElement = $el.find(".toggle-history")
historyElement = textElement.parents(".single-webhook-wrapper").find(".webhooks-history") historyElement = textElement.parents(".single-webhook-wrapper").find(".webhooks-history")
if historyElement.hasClass("open") if historyElement.hasClass("open")
text = $translate.instant("ADMIN.WEBHOOKS.ACTION_HIDE_HISTORY") text = $translate.instant("ADMIN.WEBHOOKS.ACTION_HIDE_HISTORY")
textElement.text(text) title = $translate.instant("ADMIN.WEBHOOKS.ACTION_HIDE_HISTORY_TITLE")
else else
text = $translate.instant("ADMIN.WEBHOOKS.ACTION_SHOW_HISTORY") text = $translate.instant("ADMIN.WEBHOOKS.ACTION_SHOW_HISTORY")
textElement.text(text) title = $translate.instant("ADMIN.WEBHOOKS.ACTION_SHOW_HISTORY_TITLE")
textElement.text(text)
textElement.prop("title", title)
showVisualizationMode = () -> showVisualizationMode = () ->
$el.find(".edition-mode").addClass("hidden") $el.find(".edition-mode").addClass("hidden")

View File

@ -267,7 +267,6 @@
"TYPE_SERVICE_SECRET": "Type the service secret key", "TYPE_SERVICE_SECRET": "Type the service secret key",
"SAVE": "Save Webhook", "SAVE": "Save Webhook",
"CANCEL": "Cancel Webhook", "CANCEL": "Cancel Webhook",
"TOGGLE_HISTORY": "Toggle history",
"SHOW_HISTORY": "(Show history)", "SHOW_HISTORY": "(Show history)",
"TEST": "Test Webhook", "TEST": "Test Webhook",
"EDIT": "Edit Webhook", "EDIT": "Edit Webhook",
@ -279,7 +278,9 @@
"RESPONSE": "Response", "RESPONSE": "Response",
"DATE": "DD MMM YYYY [at] hh:mm:ss", "DATE": "DD MMM YYYY [at] hh:mm:ss",
"ACTION_HIDE_HISTORY": "(Hide history)", "ACTION_HIDE_HISTORY": "(Hide history)",
"ACTION_HIDE_HISTORY_TITLE": "Hide history details",
"ACTION_SHOW_HISTORY": "(Show history)", "ACTION_SHOW_HISTORY": "(Show history)",
"ACTION_SHOW_HISTORY_TITLE": "Show history details",
"WEBHOOK_NAME": "Webhook '{{name}}'" "WEBHOOK_NAME": "Webhook '{{name}}'"
}, },
"CUSTOM_ATTRIBUTES": { "CUSTOM_ATTRIBUTES": {
@ -482,7 +483,7 @@
"TOTAL_POINTS": "total", "TOTAL_POINTS": "total",
"ADD": "+ Add a new User Story", "ADD": "+ Add a new User Story",
"ADD_BULK": "Add some new User Stories in bulk", "ADD_BULK": "Add some new User Stories in bulk",
"PROMOTED": "This US has been promoted from Issue", "PROMOTED": "This US has been promoted from Issue:",
"TITLE_LINK_GO_TO_ISSUE": "Go to issue", "TITLE_LINK_GO_TO_ISSUE": "Go to issue",
"EXTERNAL_REFERENCE": "This US has been created from", "EXTERNAL_REFERENCE": "This US has been created from",
"GO_TO_EXTERNAL_REFERENCE": "Go to origin", "GO_TO_EXTERNAL_REFERENCE": "Go to origin",
@ -805,7 +806,7 @@
"ERROR_PASSWORD_MATCH": "The passwords doesn't match" "ERROR_PASSWORD_MATCH": "The passwords doesn't match"
}, },
"USER_SETTINGS": { "USER_SETTINGS": {
"AVATAR_MAX_SIZE": "[Max, size: {{maxFileSize}}}", "AVATAR_MAX_SIZE": "[Max. size: {{maxFileSize}}]",
"MENU": { "MENU": {
"SECTION_TITLE": "User Settings", "SECTION_TITLE": "User Settings",
"USER_PROFILE": "User profile", "USER_PROFILE": "User profile",
@ -828,7 +829,7 @@
} }
}, },
"USER_PROFILE": { "USER_PROFILE": {
"IMAGE_HELP": "The image will be cropped to 80x80px.<br>", "IMAGE_HELP": "The image will be cropped to 80x80px.<br />",
"ACTION_CHANGE_IMAGE": "Change", "ACTION_CHANGE_IMAGE": "Change",
"ACTION_USE_GRAVATAR": "Use gravatar image", "ACTION_USE_GRAVATAR": "Use gravatar image",
"ACTION_DELETE_ACCOUNT": "Delete Taiga account", "ACTION_DELETE_ACCOUNT": "Delete Taiga account",

View File

@ -42,7 +42,7 @@ div.wrapper.roles(ng-controller="WebhooksController as ctrl",
span(ng-bind="webhook.name") span(ng-bind="webhook.name")
div.webhook-url div.webhook-url
span(ng-bind="webhook.url") span(ng-bind="webhook.url")
a.show-history.toggle-history(href="", title="{{'ADMIN.WEBHOOKS.TOOGLE_HISTORY' | translate}}", ng-show="webhook.logs_counter", translate="ADMIN.WEBHOOKS.SHOW_HISTORY") a.show-history.toggle-history(href="", title="{{'ADMIN.WEBHOOKS.SHOW_HISTORY_TITLE' | translate}}", ng-show="webhook.logs_counter", translate="ADMIN.WEBHOOKS.SHOW_HISTORY")
div.webhook-options div.webhook-options
div.webhook-options-wrapper div.webhook-options-wrapper