diff options
Diffstat (limited to 'app/assets/javascripts/ml/model_registry/translations.js')
-rw-r--r-- | app/assets/javascripts/ml/model_registry/translations.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/javascripts/ml/model_registry/translations.js b/app/assets/javascripts/ml/model_registry/translations.js new file mode 100644 index 00000000000..5305285b363 --- /dev/null +++ b/app/assets/javascripts/ml/model_registry/translations.js @@ -0,0 +1,10 @@ +import { s__, n__ } from '~/locale'; + +export const MODEL_DETAILS_TAB_LABEL = s__('MlModelRegistry|Details'); +export const MODEL_OTHER_VERSIONS_TAB_LABEL = s__('MlModelRegistry|Versions'); +export const MODEL_CANDIDATES_TAB_LABEL = s__('MlModelRegistry|Version candidates'); +export const LATEST_VERSION_LABEL = s__('MlModelRegistry|Latest version'); +export const NO_VERSIONS_LABEL = s__('MlModelRegistry|This model has no versions'); + +export const versionsCountLabel = (versionCount) => + n__('MlModelRegistry|%d version', 'MlModelRegistry|%d versions', versionCount); |