-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-design translations according to i18n rules
Replace all usages of tKey (translation key) with function toLabel(t). Motivation: 1. linter expects translations as literals (i.e. t('Foo')). Warnings are reported when translation key is provided as a variable. 2. auto-generation of translation file requires literals in source or in comments Signed-off-by: Radoslaw Szwajkowski <[email protected]>
- Loading branch information
Showing
12 changed files
with
146 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,49 @@ | ||
{ | ||
"AddProvider": "Add Provider", | ||
"Any": "Any", | ||
"{{type}} provider {{name}} will no longer be selectable as a migration source.": "{{type}} provider {{name}} will no longer be selectable as a migration source.", | ||
"{{type}} provider {{name}} will no longer be selectable as a migration target.": "{{type}} provider {{name}} will no longer be selectable as a migration target.", | ||
"Add Provider": "Add Provider", | ||
"Cancel": "Cancel", | ||
"CannotDeleteProvider": "Cannot remove provider", | ||
"ClearAllFilters": "Clear all filters", | ||
"Cannot remove provider": "Cannot remove provider", | ||
"Clear all filters": "Clear all filters", | ||
"Clusters": "Clusters", | ||
"Delete": "Delete", | ||
"DeleteProvider": "Delete Provider", | ||
"EditProvider": "Edit Provider", | ||
"Delete Provider": "Delete Provider", | ||
"Edit Provider": "Edit Provider", | ||
"Endpoint": "Endpoint", | ||
"False": "False", | ||
"FilterByName": "Filter by name", | ||
"FilterByNamespace": "Filter by namespace", | ||
"FilterByStatus": "Filter by status", | ||
"FilterByType": "Filter by type", | ||
"FilterByUrl": "Filter by endpoint", | ||
"Filter by endpoint": "Filter by endpoint", | ||
"Filter by name": "Filter by name", | ||
"Filter by namespace": "Filter by namespace", | ||
"Hosts": "Hosts", | ||
"Loading": "Loading...", | ||
"ManageColumns": "Manage columns", | ||
"KubeVirt": "KubeVirt", | ||
"Loading": "Loading", | ||
"Manage Columns": "Manage Columns", | ||
"Mappings for VM Import": "Mappings for VM Import", | ||
"Name": "Name", | ||
"Namespace": "Namespace", | ||
"Networks": "Networks", | ||
"NoResultsFound": "No results found", | ||
"NoResultsMatchFilter": "No results match the filter criteria. Clear all filters and try again.", | ||
"Openshift": "Openshift", | ||
"Ovirt": "oVirt", | ||
"PermanentlyDeleteProvider": "Permanently delete provider?", | ||
"No information": "No information", | ||
"No results found": "No results found", | ||
"No results match the filter criteria. Clear all filters and try again.": "No results match the filter criteria. Clear all filters and try again.", | ||
"oVirt": "oVirt", | ||
"Permanently delete provider?": "Permanently delete provider?", | ||
"Plans for VM Import": "Plans for VM Import", | ||
"ProviderNoLongerSelectableAsSource": "{{type}} provider {{name}} will no longer be selectable as a migration source.", | ||
"ProviderNoLongerSelectableAsTarget": "{{type}} provider {{name}} will no longer be selectable as a migration target.", | ||
"Providers": "Providers", | ||
"Providers for VM Import": "Providers for VM Import", | ||
"Ready": "Ready", | ||
"Reorder": "Reorder", | ||
"RestoreDefaultColums": "Restore default colums", | ||
"Restore default colums": "Restore default colums", | ||
"Save": "Save", | ||
"SelectFilter": "Select Filter", | ||
"SelectMigrationNetwork": "Select migration network", | ||
"Status": "Status", | ||
"Select Filter": "Select Filter", | ||
"Select migration network": "Select migration network", | ||
"Selected columns will be displayed in the table.": "Selected columns will be displayed in the table.", | ||
"Storage": "Storage", | ||
"Success": "Success", | ||
"TableColumnManagement": "Table column management", | ||
"Type": "Type", | ||
"Table column management": "Table column management", | ||
"True": "True", | ||
"UnableToRetrieve": "Unable to retrieve data", | ||
"Type": "Type", | ||
"Unable to retrieve data": "Unable to retrieve data", | ||
"Unknown": "Unknown", | ||
"Url": "Endpoint", | ||
"Virtualization": "Virtualization", | ||
"Vsphere": "vSphere", | ||
"VMs": "VMs" | ||
} | ||
"VMs": "VMs", | ||
"VMware": "VMware" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.