Skip to content

Commit

Permalink
[i18n] fix for TID_DARK_RED_STAR_LABEL
Browse files Browse the repository at this point in the history
  • Loading branch information
userXinos committed Jan 7, 2024
1 parent 0fe842b commit 492d062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions i18n/externalLocales/en/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"TID_MODULE_TYPE_PASSIVE": "Passive",
"TID_MODULE_TYPE_ACTIVATED": "Activated",
"TID_MODULE_RUSH_SPEED_INCR_VAL_PER_SHIPMENT_WS": "+{0}% / RELIC",
"TID_DARK_RED_STAR_LABEL": "DARK RED STAR",
"TID_PLANET_LEVEL_DESCR": "PLANET LEVEL",
"TID_BUILDING_LEVEL_DESCR": "STATION LEVEL",
"TID_DISBAND_SHIP_BUTTON": "Disband",
Expand Down
3 changes: 3 additions & 0 deletions src/pages/RedStar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<!--suppress JSUnresolvedReference -->
<script setup>
import { useStore } from 'vuex';
import { useI18n } from 'vue-i18n';
import VData from '../components/Data.vue';
import Page from '@/components/Page.vue';
import CommunityTable from '@/components/CommunityTable.vue';
Expand All @@ -80,6 +81,7 @@ import types from '@/store/modules/userSettings/types';
import byTypes from '@Regulation/byTypes';
const store = useStore();
const { t } = useI18n();
const { MinDarkRSLevel } = globals;
const { RedStar } = starsData;
const { DarkRedStar } = starsData;
Expand All @@ -101,6 +103,7 @@ USELESS_STATS.forEach((k) => {
delete DarkRedStar[k];
});
t('TID_DARK_RED_STAR_LABEL'); // for vue-i18n-extract
DarkRedStar.TID = 'TID_DARK_RED_STAR_LABEL';
DarkRedStar.TID_Description = 'TID_JOIN_DARK_RED_STAR_INFO';
Expand Down

0 comments on commit 492d062

Please sign in to comment.