I18n issues (#9303)
This commit is contained in:
parent
a341ef8981
commit
c4a2ce38da
3 changed files with 18 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ const messages = defineMessages({
|
|||
},
|
||||
cachedWarningMessage: {
|
||||
id: 'playbooks.run_list.cached_warning_message',
|
||||
defaultMessage: 'Showing cached data only. Some playbook runs or updates may be missing from this list.',
|
||||
defaultMessage: 'Showing cached data only. Some updates may be missing from this list.',
|
||||
},
|
||||
tabInProgress: {
|
||||
id: 'playbooks.run_list.tab_in_progress',
|
||||
|
|
@ -187,7 +187,7 @@ const RunList = ({
|
|||
<Button
|
||||
emphasis='tertiary'
|
||||
onPress={startANewRun}
|
||||
text={intl.formatMessage({id: 'playbooks.runs.start_a_new_run', defaultMessage: 'Start a new run'})}
|
||||
text={intl.formatMessage({id: 'playbooks.runs.start_a_new_run', defaultMessage: 'New'})}
|
||||
size='lg'
|
||||
theme={theme}
|
||||
iconName='play-outline'
|
||||
|
|
|
|||
|
|
@ -858,7 +858,7 @@
|
|||
"mobile.server_url.empty": "Please enter a valid server URL",
|
||||
"mobile.server_url.invalid_format": "URL must start with http:// or https://",
|
||||
"mobile.server.preauth_secret.invalid": "Authentication secret is invalid. Try again or contact your admin.",
|
||||
"mobile.server.validation.error": "Unable to validate server. Please try again.",
|
||||
"mobile.server.validation.error": "Unable to validate server. Please check your connection and try again.",
|
||||
"mobile.session_expired_days": "Please log in to continue receiving notifications. Sessions for {siteName} are configured to expire every {daysCount, number} {daysCount, plural, one {day} other {days}}.",
|
||||
"mobile.session_expired_days_hrs": "Please log in to continue receiving notifications. Sessions for {siteName} are configured to expire every {daysCount, number} {daysCount, plural, one {day} other {days}} and {hoursCount, number} {hoursCount, plural, one {hour} other {hours}}.",
|
||||
"mobile.session_expired_hrs": "Please log in to continue receiving notifications. Sessions for {siteName} are configured to expire every {hoursCount, number} {hoursCount, plural, one {hour} other {hours}}.",
|
||||
|
|
@ -1014,7 +1014,7 @@
|
|||
"playbooks.checklist_item.task_rendered_conditionally": "Task rendered conditionally",
|
||||
"playbooks.checklist_item.task_rendered_conditionally_explanation": "This task was rendered conditionally based on",
|
||||
"playbooks.checklist.rename.button": "Save",
|
||||
"playbooks.checklist.rename.label": "Checklist name",
|
||||
"playbooks.checklist.rename.label": "Section name",
|
||||
"playbooks.checklist.rename.title": "Rename checklist",
|
||||
"playbooks.create_run.select_playbook.no_results": "No Results",
|
||||
"playbooks.due_date.date_at_time": "{date} at {time}",
|
||||
|
|
|
|||
14
scripts/regen-i18n.sh
Executable file
14
scripts/regen-i18n.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo Regenerating i18n files
|
||||
|
||||
rm -rf assets/base/i18n/en.json
|
||||
echo "{}" > assets/base/i18n/en.json
|
||||
|
||||
npm run i18n-extract
|
||||
|
||||
echo assets/base is now regenerated. Rebuilding dist/assets/i18n
|
||||
|
||||
node scripts/generate-assets.js
|
||||
|
||||
echo i18n files are now regenerated.
|
||||
Loading…
Reference in a new issue