Skip to content

Commit 7f83f25

Browse files
committed
disable remote localization for build
1 parent 5c42983 commit 7f83f25

File tree

11 files changed

+1027
-10
lines changed

11 files changed

+1027
-10
lines changed

Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Download localizations
2-
FROM node:23 AS builder-node
1+
# # Download localizations
2+
# FROM node:23 AS builder-node
33

4-
ARG LOCALIZE_API_KEY
5-
ENV LOCALIZE_API_KEY $LOCALIZE_API_KEY
4+
# ARG LOCALIZE_API_KEY
5+
# ENV LOCALIZE_API_KEY $LOCALIZE_API_KEY
66

7-
WORKDIR /workspace
7+
# WORKDIR /workspace
88

9-
RUN npm install @tolgee/cli
9+
# RUN npm install @tolgee/cli
1010

11-
COPY ./.tolgeerc ./
11+
# COPY ./.tolgeerc ./
1212

13-
RUN npx tolgee pull --api-key "${LOCALIZE_API_KEY}" --states REVIEWED
13+
# RUN npx tolgee pull --api-key "${LOCALIZE_API_KEY}" --states REVIEWED
1414

1515
# Build app
1616
FROM golang:1.24.3 AS builder-go
@@ -26,7 +26,7 @@ RUN --mount=type=cache,target=$GOPATH/pkg/mod go mod download
2626
COPY ./ ./
2727

2828
# load localizations
29-
COPY --from=builder-node /workspace/static/localization/ ./static/localization/
29+
# COPY --from=builder-node /workspace/static/localization/ ./static/localization/
3030

3131
# generate static assets
3232
RUN --mount=type=cache,target=$GOPATH/pkg/mod go generate ./internal/assets

static/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
localization
1+
# localization

static/localization/en/cta.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
cta_abandoned_negative_growth_body: |-
2+
It looks like you haven't used Aftermath in a while, but I can be really helpful for players looking to improve their stats.
3+
4+
Here is your recent session, try using `/session` if you want to dive deeper into your stats!
5+
cta_abandoned_negative_growth_head: "We miss you :cry:"
6+
cta_abandoned_neutral_growth_body: |-
7+
It looks like you haven't used Aftermath in a while.
8+
9+
Check out your recent stats, you can also dive deeper using the `/session` command!
10+
cta_abandoned_neutral_growth_head: "We miss you :cry:"
11+
cta_abandoned_positive_growth_body: |-
12+
It looks like you haven't used Aftermath in a while, but your growth is impressive!
13+
14+
Here is your recent session, try using `/session` if you want to dive deeper into your stats.
15+
cta_abandoned_positive_growth_head: "We miss you :cry:"
16+
cta_command_help_body: |-
17+
Looking for more information on all the awesome features?
18+
19+
Check `/help` for an overview of every supported command!
20+
cta_command_help_button: "Have a question?"
21+
cta_command_help_head: "Learn about Aftermath!"
22+
cta_command_links_add_body: |-
23+
You can link your Blitz account to Aftermath to make checking stats even easier!
24+
25+
Give it a try with `/links add`
26+
cta_command_links_add_head: "Link your Blitz account!"
27+
cta_command_links_verify_body: |-
28+
You can verify your Blitz account using `/link verify`.
29+
30+
This will make your custom background images visible to other users and unlock the `/my` command!
31+
cta_command_links_verify_head: "Verify your Blitz account!"
32+
cta_command_replay_body: |-
33+
You can upload a replay using `/replay` to get an overview of your battle with stats for every player!
34+
35+
Replays are always kept private, never stored, and never uploaded to any third party service - your strats are safe with us!
36+
cta_command_replay_head: "Aftermath can also process your replays!"
37+
cta_guild_install_body: |-
38+
Just share this link with a server owner!
39+
https://amth.one/install
40+
cta_guild_install_button: "Share Aftermath"
41+
cta_guild_install_head: "Want to add Aftermath to your favorite server?"
42+
cta_personal_install_body: |-
43+
Install Aftermath as a personal App and use it across all servers and Direct Message groups!
44+
45+
Just select **Add to My Apps** when installing Aftermath
46+
cta_personal_install_button: "Install Aftermath"
47+
cta_personal_install_head: "You can use Aftermath across all of your servers!"
48+
cta_report_issues_body: "You can report any errors and submit feature requests on the Aftermath Official Discord server!"
49+
cta_report_issues_button: "Join Aftermath Official"
50+
cta_report_issues_head: "Spotted an error or want to share some feedback?"

static/localization/en/discord.yaml

Lines changed: 241 additions & 0 deletions
Large diffs are not rendered by default.

static/localization/en/stats.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
game_mode_lunar: "Lunar"
2+
game_mode_training: "Training Room"
3+
game_mode_tutorial: "Tutorial"
4+
game_mode_unknown: "Unknown"
5+
label_accuracy: "Accuracy"
6+
label_assisted: "Assisted"
7+
label_assisted_combined: "Assisted+"
8+
label_avg_damage: "Damage"
9+
label_avg_tier: "Tier"
10+
label_battle_type_regular: "Encounter"
11+
label_battle_type_supremacy: "Supremacy"
12+
label_battle_type_unknown: "Unknown"
13+
label_battles: "Battles"
14+
label_blocked: "Blocked"
15+
label_damage_assisted: "Assisted"
16+
label_damage_blocked: "Blocked"
17+
label_damage_dealt: "Damage"
18+
label_damage_ratio: "Dmg. Ratio"
19+
label_damage_taken: "Damage Received"
20+
label_defeat: "Defeat"
21+
label_frags: "Kills"
22+
label_game_mode_burning_games: "Burning Games"
23+
label_game_mode_gravity: "Gravity"
24+
label_game_mode_mad_games: "Mad Games"
25+
label_game_mode_quick_tournament: "Quick Tournament"
26+
label_game_mode_rating: "Rating Battle"
27+
label_game_mode_realistic: "Realistic Battle"
28+
label_game_mode_regular: "Regular Battle"
29+
label_game_mode_skirmish: "Skirmish"
30+
label_game_mode_tournament: "Tournament"
31+
label_game_mode_training: "Training Room"
32+
label_game_mode_unknown: "Unknown"
33+
label_game_mode_uprising: "Uprising"
34+
label_highlight_avg_damage: "Best Performance"
35+
label_highlight_battles: "Favorite Tank"
36+
label_highlight_recent_battle: "Last Battle"
37+
label_highlight_wn8: "Biggest Impact"
38+
label_map_name_unknown: "Unknown"
39+
label_overview_rating: "Rating Battles"
40+
label_overview_unrated: "Regular Battles"
41+
label_ranked_rating: "Rating"
42+
label_survival_percent: "Survived"
43+
label_survival_ratio: "Survival"
44+
label_victory: "Victory"
45+
label_winrate: "Winrate"
46+
label_wn8: "WN8"
47+
tag_quick_tournament: "Quick Tournament"
48+
tag_tournament: "Tournament"

static/localization/pl/cta.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
cta_abandoned_negative_growth_body: |-
2+
Wygląda na to, że nie używałeś Aftermath od jakiegoś czasu, ale mogę być naprawdę pomocny dla graczy, którzy chcą poprawić swoje statystyki.
3+
4+
Oto twoja ostatnia sesja, spróbuj użyć `/session`, jeśli chcesz zagłębić się w swoje statystyki!
5+
cta_abandoned_negative_growth_head: "Tęsknimy za Tobą :cry:"
6+
cta_abandoned_neutral_growth_body: |-
7+
Wygląda na to, że nie używałeś Aftermath od jakiegoś czasu.
8+
9+
Sprawdź swoje ostatnie statystyki, możesz też zanurkować głębiej używając polecenia `/session`!
10+
cta_abandoned_neutral_growth_head: "Tęsknimy za Tobą :cry:"
11+
cta_abandoned_positive_growth_body: |-
12+
Wygląda na to, że nie używałeś Aftermath od jakiegoś czasu, ale twój rozwój jest imponujący!
13+
14+
Oto twoja ostatnia sesja, spróbuj użyć `/session`, jeśli chcesz zagłębić się w swoje statystyki.
15+
cta_abandoned_positive_growth_head: "Tęsknimy za Tobą :cry:"
16+
cta_command_help_body: |-
17+
Szukasz więcej informacji o wszystkich niesamowitych funkcjach?
18+
19+
Sprawdź `/help`, aby uzyskać przegląd wszystkich obsługiwanych poleceń!
20+
cta_command_help_button: "Masz pytanie?"
21+
cta_command_help_head: "Dowiedz się więcej o Aftermath!"
22+
cta_command_links_add_body: |-
23+
Możesz połączyć swoje konto Blitz z Aftermath, aby jeszcze bardziej ułatwić sprawdzanie statystyk!
24+
25+
Wypróbuj z `/links add`
26+
cta_command_links_add_head: "Połącz swoje konto Blitz!"
27+
cta_command_links_verify_body: |-
28+
Możesz zweryfikować swoje konto Blitz za pomocą `/link verify`.
29+
30+
To sprawi, że Twoje niestandardowe obrazy tła będą widoczne dla innych użytkowników i odblokuje polecenie `/my`!
31+
cta_command_links_verify_head: "Zweryfikuj swoje konto Blitz!"
32+
cta_command_replay_body: |-
33+
Możesz przesłać powtórkę za pomocą `/replay`, aby uzyskać przegląd swojej bitwy ze statystykami każdego gracza!
34+
35+
Powtórki są zawsze prywatne, nigdy nie są przechowywane i nigdy nie są przesyłane do żadnej usługi zewnętrznej - Twoje strategie są u nas bezpieczne!
36+
cta_command_replay_head: "Aftermath może również przetwarzać Twoje powtórki!"
37+
cta_guild_install_body: |-
38+
Po prostu udostępnij ten link właścicielowi serwera!
39+
https://amth.one/install
40+
cta_guild_install_button: "Udostępnij Aftermath"
41+
cta_guild_install_head: "Chcesz dodać Aftermath do swojego ulubionego serwera?"
42+
cta_personal_install_body: |-
43+
Zainstaluj Aftermath jako osobistą aplikację i używaj jej na wszystkich serwerach i grupach Direct Message!
44+
45+
Po prostu wybierz **Dodaj do moich aplikacji** podczas instalowania Aftermath
46+
cta_personal_install_button: "Zainstaluj Aftermath"
47+
cta_personal_install_head: "Możesz używać Aftermath na wszystkich swoich serwerach!"
48+
cta_report_issues_body: "Możesz zgłaszać wszelkie błędy i przesyłać prośby o dodanie funkcji na oficjalnym serwerze Aftermath w serwisie Discord!"
49+
cta_report_issues_button: "Dołącz do Aftermath Official"
50+
cta_report_issues_head: "Znalazłeś błąd lub chcesz podzielić się swoją opinią?"

0 commit comments

Comments
 (0)