Skip to content

Commit

Permalink
name and icon for ShipBuild page
Browse files Browse the repository at this point in the history
  • Loading branch information
userXinos committed Jan 3, 2024
1 parent a7cd905 commit eeccd66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions i18n/locales/en/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"RESET_PLAN": "Reset the plan",
"PLANETS_CALC": "Planet calculator",
"MODULES_CALC": "Modules calculator",
"SHIP_BUILD": "Build ships",
"CALCULATOR_SETTINGS": "Calculator settings",
"OTHER": "Other",
"SWITCH_ACCS": "Account switcher {0} [{1}]",
Expand Down
Binary file added src/img/icons/ship-build.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/ShipBuild.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ const router = useRouter();
const { t } = useI18n();
const { data: compData, levelMap: compLevelMap } = compendiumTechList();
const title = t('ShipBuild');
const title = t('SHIP_BUILD');
const shipNames = Object.keys(ships);
const openNewShip = ref(false);
Expand Down
4 changes: 2 additions & 2 deletions src/regulation/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ export default [
},
{
name: 'ShipBuild',
text: { locKey: 'ShipBuild' },
text: { locKey: 'SHIP_BUILD' },
path: '/shipBuild',
component: () => import('../pages/ShipBuild.vue'),
icon: {
name: '',
name: 'ship-build',
dir: 'icons',
},
},
Expand Down

0 comments on commit eeccd66

Please sign in to comment.