From 5a90a68c4f4acb2ee15408248b903191b45a28e5 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 11 Aug 2020 23:14:23 +0200 Subject: [PATCH] Translatiopns updated. --- .../Squidex/Areas/Frontend/Resources/texts.en | 47 +++++++++++-------- i18n/translate.bat | 6 +-- i18n/translations-frontend.en.json | 4 +- 3 files changed, 33 insertions(+), 24 deletions(-) diff --git a/backend/src/Squidex/Areas/Frontend/Resources/texts.en b/backend/src/Squidex/Areas/Frontend/Resources/texts.en index ba2cdf0be..07d073e84 100644 --- a/backend/src/Squidex/Areas/Frontend/Resources/texts.en +++ b/backend/src/Squidex/Areas/Frontend/Resources/texts.en @@ -100,9 +100,9 @@ "assets.uploaderUploadHere": "No upload in progress, drop files here.", "assets.uploadFailed": "Failed to upload asset. Please reload.", "assets.uploadHint": "Drop file on existing item to replace the asset with a newer version.", - "backups.backupCountAssets": "Assets", + "backups.backupCountAssetsLabel": "Assets", "backups.backupCountAssetsTooltip": "Archived assets", - "backups.backupCountEvents": "Events", + "backups.backupCountEventsLabel": "Events", "backups.backupCountEventsTooltip": "Archived events", "backups.backupDownload": "Download", "backups.backupDownloadLink": "Ready", @@ -128,6 +128,7 @@ "backups.restoreTitle": "Restore Backup", "backups.start": "Start Backup", "backups.started": "Backup started, it can take several minutes to complete.", + "backups.startedLabel": "Started", "backups.startFailed": "Failed to start backup.", "clients.add": "Add Client", "clients.addFailed": "Failed to add client. Please reload.", @@ -231,7 +232,7 @@ "common.files": "Files", "common.filters": "Filters", "common.folders": "Folders", - "common.generalSettings": "common", + "common.generalSettings": "Common", "common.generate": "Generate", "common.github": "Github", "common.height": "Height", @@ -255,7 +256,6 @@ "common.name": "Name", "common.no": "No", "common.nothingChanged": "Nothing has been changed.", - "common.noValue": "No value", "common.or": "or", "common.pagerInfo": "{itemFirst}-{itemLast} of {numberOfItems}", "common.password": "Password", @@ -297,6 +297,7 @@ "common.tagsAll": "All tags", "common.time": "Time", "common.update": "Update", + "common.url": "URL", "common.users": "Users", "common.value": "Value", "common.width": "Width", @@ -521,7 +522,7 @@ "rules.cancelFailed": "Failed to cancel rule. Please reload.", "rules.create": "Create new Rule", "rules.createFailed": "Failed to create rule. Please reload.", - "rules.createTooltip": "New Rule (CTRL + M)", + "rules.createTooltip": "New Rule (CTRL + SHIFT + G)", "rules.deleteConfirmText": "Do you really want to delete the rule?", "rules.deleteConfirmTitle": "Delete rule", "rules.deleteFailed": "Failed to delete rule. Please reload.", @@ -565,6 +566,7 @@ "rules.wizard.selectAction": "Select Action", "rules.wizard.selectTrigger": "Select Trigger", "rules.wizard.triggerHint": "The selection of the trigger type cannot be changed later.", + "schema.field.visibleMarker": "Visible", "schemas.addField": "Add Field", "schemas.addFieldAndClose": "Create and close", "schemas.addFieldAndCreate": "Create and add field", @@ -582,8 +584,8 @@ "schemas.deleteConfirmTitle": "Delete schema", "schemas.deleteFailed": "Failed to delete schema. Please reload.", "schemas.deleteFieldFailed": "Failed to delete field. Please reload.", - "schemas.deleteRuleConfirmText": "Do you really want to remove this rule?", - "schemas.deleteRuleConfirmTitle": "Remove rule", + "schemas.deleteRuleConfirmText": "Do you really want to remove this Field Rule?", + "schemas.deleteRuleConfirmTitle": "Remove Field Rule", "schemas.deleteUrlConfirmText": "Do you really want to remove this URL?", "schemas.deleteUrlConfirmTitle": "Remove URL", "schemas.disableFieldFailed": "Failed to disable field. Please reload.", @@ -592,16 +594,22 @@ "schemas.export.recreateFields": "Recreate fields", "schemas.export.synchronize": "Synchronize", "schemas.field.allowedValues": "Allowed Values", + "schemas.field.defaultValue": "Default Value", "schemas.field.deleteConfirmText": "Do you really want to delete the field?", "schemas.field.deleteConfirmTitle": "Delete field", "schemas.field.disable": "Disable in UI", "schemas.field.disabledMarker": "Disabled", + "schemas.field.editor": "Editor", "schemas.field.editorUrl": "Editor Url", "schemas.field.editorUrlHint": "Url to your plugin if you use a custom editor.", + "schemas.field.empty": "No field created yet.", "schemas.field.enable": "Enable in UI", "schemas.field.enabledMarker": "Enabled", + "schemas.field.hiddenMarker": "Hidden", "schemas.field.hide": "Hide in API", - "schemas.field.labelHint": "Describe this field for documentation and user interfaces.", + "schemas.field.hintsHint": "Describe this schema for documentation and user interfaces.", + "schemas.field.inlineEditable": "Inline Editable", + "schemas.field.labelHint": "Display name for documentation and user interfaces.", "schemas.field.localizable": "Localizable", "schemas.field.localizableHint": "You can mark the field as localizable. It means that is dependent on the language, for example a city name.", "schemas.field.localizableMarker": "localizable", @@ -611,19 +619,15 @@ "schemas.field.nameHint": "The name of the field in the API response.", "schemas.field.namePlaceholder": "Enter field name", "schemas.field.nameValidationMessage": "Name must be a valid javascript name in camel case.", + "schemas.field.placeholder": "Placeholder", + "schemas.field.placeholderHint": "Define the placeholder for the input control.", "schemas.field.required": "Required", "schemas.field.show": "Show in API", "schemas.field.tabCommon": "Common", - "schemas.field.tabUI": "UI", + "schemas.field.tabEditing": "Editing", "schemas.field.tabValidation": "Validation", "schemas.field.tagsHint": "Tags to annotate your field for automation processes.", "schemas.field.unique": "Unique", - "schemas.fields.defaultValue": "Default Value", - "schemas.fields.editor": "Editor", - "schemas.fields.empty": "No field created yet.", - "schemas.fields.inlineEditable": "Inline Editable", - "schemas.fields.placeholder": "Placeholder", - "schemas.fields.placeholderHint": "Define the placeholder for the input control.", "schemas.fieldTypes.array.count": "Items", "schemas.fieldTypes.array.countMax": "Max Items", "schemas.fieldTypes.array.countMin": "Min Items", @@ -675,7 +679,6 @@ "schemas.fieldTypes.ui.description": "Separator for editing UI.", "schemas.hideFieldFailed": "Failed to hide field. Please reload.", "schemas.import": "Import schema", - "schemas.labelHint": "Display name for documentation and user interfaces.", "schemas.listFields": "List Fields", "schemas.listFieldsEmpty": "Drop field here or reorder them to show the fields in the content list. When no list field is defined, the first field is used.", "schemas.loadFailed": "Failed to load schemas. Please reload.", @@ -698,15 +701,16 @@ "schemas.referenceFieldsEmpty": "Drop field here or reorder them to show the fields when referenced by another content. When no reference field is defined, the list fields are used instead.", "schemas.reloaded": "Schemas reloaded.", "schemas.reorderFieldsFailed": "Failed to reorder fields. Please reload.", + "schemas.rules.action": "Action", "schemas.rules.condition": "Condition in Javascript", - "schemas.rules.disable": "Disable", "schemas.rules.empty": "No field rules configured.", - "schemas.rules.require": "Require", - "schemas.rules.title": "Field rules", + "schemas.rules.title": "Field Rules", "schemas.rules.when": "when", "schemas.saved": "Schema saved successfully.", "schemas.saveFieldAndClose": "Save and close", "schemas.saveFieldAndNew": "Save and add field", + "schemas.schemaHintsHint": "Describe this schema for documentation and user interfaces.", + "schemas.schemaLabelHint": "Display name for documentation and user interfaces.", "schemas.schemaNameHint": "You can only use letters, numbers and dashes and not more than 40 characters.", "schemas.schemaNameValidationMessage": "Name can only contain letters, numbers, dashes and spaces.", "schemas.schemaTagsHint": "Tags to annotate your schema for automation processes.", @@ -714,6 +718,11 @@ "schemas.showFieldFailed": "Failed to show field. Please reload.", "schemas.synchronized": "Schema synchronized successfully.", "schemas.synchronizeFailed": "Failed to synchronize schema. Please reload.", + "schemas.tabFields": "Fields", + "schemas.tabJson": "Json", + "schemas.tabMore": "More", + "schemas.tabScripts": "Scripts", + "schemas.tabUI": "UI", "schemas.ui": "Assigned fields", "schemas.ui.unassignedFields": "Unassigned fields", "schemas.unpublished": "Unpublished", diff --git a/i18n/translate.bat b/i18n/translate.bat index 503845f9d..d5d0dd375 100644 --- a/i18n/translate.bat +++ b/i18n/translate.bat @@ -1,3 +1,3 @@ -cd D:\squidex-translator\Squidex.Translator\bin\Debug\netcoreapp3.1 -dotnet .\Squidex.Translator.dll translate check-frontend D:\Squidex -dotnet .\Squidex.Translator.dll translate gen-backend D:\Squidex +cd translator\Squidex.Translator +dotnet run translate gen-frontend D:\Squidex +dotnet run translate gen-backend D:\Squidex diff --git a/i18n/translations-frontend.en.json b/i18n/translations-frontend.en.json index b32aa4351..07d073e84 100644 --- a/i18n/translations-frontend.en.json +++ b/i18n/translations-frontend.en.json @@ -566,6 +566,7 @@ "rules.wizard.selectAction": "Select Action", "rules.wizard.selectTrigger": "Select Trigger", "rules.wizard.triggerHint": "The selection of the trigger type cannot be changed later.", + "schema.field.visibleMarker": "Visible", "schemas.addField": "Add Field", "schemas.addFieldAndClose": "Create and close", "schemas.addFieldAndCreate": "Create and add field", @@ -598,13 +599,13 @@ "schemas.field.deleteConfirmTitle": "Delete field", "schemas.field.disable": "Disable in UI", "schemas.field.disabledMarker": "Disabled", - "schemas.field.hiddenMarker": "Hidden", "schemas.field.editor": "Editor", "schemas.field.editorUrl": "Editor Url", "schemas.field.editorUrlHint": "Url to your plugin if you use a custom editor.", "schemas.field.empty": "No field created yet.", "schemas.field.enable": "Enable in UI", "schemas.field.enabledMarker": "Enabled", + "schemas.field.hiddenMarker": "Hidden", "schemas.field.hide": "Hide in API", "schemas.field.hintsHint": "Describe this schema for documentation and user interfaces.", "schemas.field.inlineEditable": "Inline Editable", @@ -627,7 +628,6 @@ "schemas.field.tabValidation": "Validation", "schemas.field.tagsHint": "Tags to annotate your field for automation processes.", "schemas.field.unique": "Unique", - "schema.field.visibleMarker": "Visible", "schemas.fieldTypes.array.count": "Items", "schemas.fieldTypes.array.countMax": "Max Items", "schemas.fieldTypes.array.countMin": "Min Items",