Maintenance: Improved translatable source strings.

This commit is contained in:
Martin Gruner 2022-01-21 17:06:41 +01:00
parent fd816b3c71
commit b2ecb71043
14 changed files with 28 additions and 33 deletions

View file

@ -142,7 +142,7 @@ class ChannelEmailAccountOverview extends App.Controller
e.preventDefault()
id = $(e.target).closest('.action').data('id')
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: =>
@ajax(
id: 'email_delete'

View file

@ -95,7 +95,7 @@ class ChannelFacebook extends App.ControllerSubContent
e.preventDefault()
id = $(e.target).closest('.action').data('id')
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: =>
@ajax(
id: 'facebook_delete'

View file

@ -145,7 +145,7 @@ class ChannelAccountOverview extends App.ControllerSubContent
e.preventDefault()
id = $(e.target).closest('.action').data('id')
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: =>
@ajax(
id: 'google_delete'

View file

@ -136,7 +136,7 @@ class ChannelAccountOverview extends App.ControllerSubContent
e.preventDefault()
id = $(e.target).closest('.action').data('id')
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: =>
@ajax(
id: 'microsoft365_delete'

View file

@ -63,7 +63,7 @@ class ChannelTelegram extends App.ControllerSubContent
e.preventDefault()
id = $(e.target).closest('.action').data('id')
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: =>
@ajax(
id: 'telegram_delete'

View file

@ -102,7 +102,7 @@ class ChannelTwitter extends App.ControllerSubContent
e.preventDefault()
id = $(e.target).closest('.action').data('id')
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: =>
@ajax(
id: 'twitter_delete'

View file

@ -63,7 +63,7 @@ class ProfileTokenAccess extends App.ControllerSubContent
)
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: callback
container: @el.closest('.content')
)

View file

@ -52,7 +52,7 @@ class Maintenance extends App.ControllerSubContent
)
if value
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: callback
onCancel: =>
@modeSetting.prop('checked', false)

View file

@ -130,9 +130,9 @@ class Edit extends App.ControllerModal
class DestroyConfirm extends App.ControllerModal
buttonClose: true
buttonCancel: true
buttonSubmit: __('yes')
buttonSubmit: __('Yes')
buttonClass: 'btn--danger'
head: __('Confirm')
head: __('Confirmation')
small: true
content: ->

View file

@ -127,7 +127,7 @@ class Remove extends App.ControllerModal
buttonCancel: true
buttonSubmit: __('Discard Changes')
buttonClass: 'btn--danger'
head: __('Confirm')
head: __('Confirmation')
content: ->
App.i18n.translateContent('Tab has changed, do you really want to close it?')

View file

@ -63,7 +63,7 @@ class Delete
)
new App.ControllerConfirm(
message: __('Sure?')
message: __('Are you sure?')
callback: callback
container: ui.el.closest('.content')
)

View file

@ -60,7 +60,7 @@ class App.WidgetTemplate extends App.Controller
return if !params['id']
template = App.Template.find(params['id'])
if confirm('Sure?')
if confirm(__('Are you sure?'))
@id = false
template.destroy()

View file

@ -1,7 +1,7 @@
<form class="update-box bulkAction-form" role="form">
<div class="bulkAction-firstStep js-action-step">
<div id="form-ticket-bulk" class="form-inline form-inline--enclosed flex"></div>
<div class="btn btn--primary js-confirm"><%- @T('Confirm') %></div>
<div class="btn btn--primary js-confirm"><%- @T('Confirmation') %></div>
</div>
<div class="hide bulkAction-secondStep js-confirm-step">
<div id="form-ticket-bulk-comment" class="form-inline"></div>

View file

@ -847,7 +847,17 @@ msgstr ""
msgid "Are you sure you want to reload? You have unsaved changes that will get lost"
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/email.coffee
#: app/assets/javascripts/app/controllers/_channel/facebook.coffee
#: app/assets/javascripts/app/controllers/_channel/google.coffee
#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee
#: app/assets/javascripts/app/controllers/_channel/telegram.coffee
#: app/assets/javascripts/app/controllers/_channel/twitter.coffee
#: app/assets/javascripts/app/controllers/_profile/token_access.coffee
#: app/assets/javascripts/app/controllers/data_privacy.coffee
#: app/assets/javascripts/app/controllers/maintenance.coffee
#: app/assets/javascripts/app/controllers/ticket_zoom/article_action/delete.coffee
#: app/assets/javascripts/app/controllers/widget/template.coffee
msgid "Are you sure?"
msgstr ""
@ -1879,18 +1889,15 @@ msgstr ""
msgid "Configure Base"
msgstr ""
#: app/assets/javascripts/app/controllers/tag.coffee
#: app/assets/javascripts/app/controllers/taskbar_widget.coffee
#: app/assets/javascripts/app/views/agent_ticket_view/bulk.jst.eco
msgid "Confirm"
msgstr ""
#: app/assets/javascripts/app/controllers/_plugin/keyboard_shortcuts.coffee
msgid "Confirm/submit dialog"
msgstr ""
#: app/assets/javascripts/app/controllers/_application_controller/_modal_generic_confirm.coffee
#: app/assets/javascripts/app/controllers/_application_controller/_modal_generic_destroy_confirm.coffee
#: app/assets/javascripts/app/controllers/tag.coffee
#: app/assets/javascripts/app/controllers/taskbar_widget.coffee
#: app/assets/javascripts/app/views/agent_ticket_view/bulk.jst.eco
msgid "Confirmation"
msgstr ""
@ -8714,18 +8721,6 @@ msgstr ""
msgid "Support of multilingual Knowledge Base."
msgstr ""
#: app/assets/javascripts/app/controllers/_channel/email.coffee
#: app/assets/javascripts/app/controllers/_channel/facebook.coffee
#: app/assets/javascripts/app/controllers/_channel/google.coffee
#: app/assets/javascripts/app/controllers/_channel/microsoft365.coffee
#: app/assets/javascripts/app/controllers/_channel/telegram.coffee
#: app/assets/javascripts/app/controllers/_channel/twitter.coffee
#: app/assets/javascripts/app/controllers/_profile/token_access.coffee
#: app/assets/javascripts/app/controllers/maintenance.coffee
#: app/assets/javascripts/app/controllers/ticket_zoom/article_action/delete.coffee
msgid "Sure?"
msgstr ""
#: db/seeds/schedulers.rb
msgid "Sync calendars with ical feeds."
msgstr ""
@ -10534,6 +10529,7 @@ msgstr ""
#: app/assets/javascripts/app/controllers/_application_controller/_modal_generic_confirm.coffee
#: app/assets/javascripts/app/controllers/_ui_element/ticket_perform_action.coffee
#: app/assets/javascripts/app/controllers/tag.coffee
msgid "Yes"
msgstr ""
@ -11624,7 +11620,6 @@ msgid "within next (relative)"
msgstr ""
#: app/assets/javascripts/app/controllers/_ui_element/boolean.coffee
#: app/assets/javascripts/app/controllers/tag.coffee
#: app/assets/javascripts/app/views/object_manager/attribute/boolean.jst.eco
msgid "yes"
msgstr ""