diff --git a/README.md b/README.md index 8554a1f8b..d75f492a4 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ for this scenario, simply change the value of API_BASE_URL in static/config.json This project supports internationalization. Currently, only English language is supported. Pull requests to support additional languages are encouraged. -Note to developers: Textual labels are defined in `src/i18n/messages.json`. Ensure that all labels are defined here and that components use i18n, not textual labels directly. +Note to developers: Textual labels are defined in `src/i18n/locales/{lang}.json`. Ensure that all labels are defined here and that components use i18n, not textual labels directly. Copyright & License ------------------- diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index d54d3da99..b85417074 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -274,7 +274,15 @@ "service_updated": "Service updated", "object_identifier": "Object Identifier", "object_identifier_desc": "A unique identifier (UUID) that Dependency-Track automatically assigns to every object", - "dependency_graph": "Dependency Graph" + "dependency_graph": "Dependency Graph", + "component_application": "Application", + "component_framework": "Framework", + "component_library": "Library", + "component_container": "Container", + "component_os": "Operation system", + "component_device": "Device", + "component_firmware": "Firmware", + "component_file": "File" }, "admin": { "configuration": "Configuration", diff --git a/src/views/portfolio/projects/ProjectCreateProjectModal.vue b/src/views/portfolio/projects/ProjectCreateProjectModal.vue index 3f0b0c498..7241d1da5 100644 --- a/src/views/portfolio/projects/ProjectCreateProjectModal.vue +++ b/src/views/portfolio/projects/ProjectCreateProjectModal.vue @@ -12,7 +12,7 @@ lazy="true" required="false" feedback="false" autofocus="false" :label="$t('message.version')" :tooltip="this.$t('message.component_version_desc')"/>