Skip to content

Commit

Permalink
feat(ui): make the app translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMakesGames committed Apr 28, 2024
1 parent ff4f7bc commit a7d1782
Show file tree
Hide file tree
Showing 23 changed files with 738 additions and 298 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"skeletonlabs",
"Starbase",
"starbases",
"starscape",
"steamapps",
"stellaris",
"stellarmaps",
Expand Down
2 changes: 1 addition & 1 deletion electron.vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, externalizeDepsPlugin } from 'electron-vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
import { defineConfig, externalizeDepsPlugin } from 'electron-vite';

export default defineConfig({
main: {
Expand Down
60 changes: 58 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stellarmaps",
"version": "0.10.3",
"version": "0.11.0-dev",
"private": true,
"type": "module",
"scripts": {
Expand Down Expand Up @@ -85,6 +85,7 @@
"electron": "^29.3.0",
"fast-glob": "^3.3.2",
"font-list": "^1.5.1",
"intl-messageformat": "^10.5.11",
"magickwand.js": "^1.0.2",
"pixi.js": "^8.1.0",
"platform-paths": "^1.2.2",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stellarmaps"
version = "0.10.3"
version = "0.11.0-dev"
description = "Stellaris map renderer"
authors = ["Michael Moore"]
license = ""
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "StellarMaps",
"version": "0.10.3"
"version": "0.11.0-dev"
},
"tauri": {
"allowlist": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
storePopup,
} from '@skeletonlabs/skeleton';
import './app.postcss';
import { t } from './intl';
import ExportModal from './lib/ExportModal.svelte';
import Sidebar from './lib/Sidebar.svelte';
import VersionInfo from './lib/VersionInfo.svelte';
Expand All @@ -25,7 +26,7 @@
<svelte:fragment slot="header">
<AppBar>
<svelte:fragment slot="lead">
StellarMaps
{$t('top_bar.stellar_maps')}
<VersionInfo />
</svelte:fragment>
<svelte:fragment slot="trail">
Expand Down
Loading

0 comments on commit a7d1782

Please sign in to comment.