Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial localization support #205

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions A3-Antistasi/Dialogs/dialogHQ.sqf

This file was deleted.

12 changes: 12 additions & 0 deletions A3-Antistasi/Dialogs/headquarters.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
private ["_display","_childControl","_veh","_texto","_coste","_tipoVeh"];
_nul = createDialog "headquarters";

sleep 1;
disableSerialization;

_display = findDisplay 100;
if (str (_display) != "no display") then
{
_ChildControl = _display displayCtrl 109;
_ChildControl ctrlSetTooltip format [ localize "str_antistasi_hq_button_train_ai_tooltip", skillFIA, 1000 + (1.5 * ((skillFIA) * 750)) ];
};
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
_nul=createDialog "first_load";
_nul = createDialog "load_previous_session";

_bypass = false;

if (count _this > 0) then {_bypass = true};
if (count _this > 0) then { _bypass = true };
//bypass es true cuando un JIP carga
waitUntil {dialog};
hint "W A R N I N G\n\nREAD THIS!!!\n\n\nAntistasi does NOT support vanilla save. Do not expect 100% of functionalities if you Save&Exit and after you come back with Resume option. Both on SP and MP.\n\n\nAntistasi has an in built save system, GTA alike, which is the system you have to use in order to have full functionalities.\n\nTo Save: Go to the Map Board, select ""Game Options"" and hit on ""Persistent Save"" button.\n\nTo load: RESTART the game and click YES on this window";
Expand Down
114 changes: 114 additions & 0 deletions A3-Antistasi/Stringtable.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project name="A3-Antistasi">
<Package name="A3-Antistasi Mission">
<Container name="dialog_load_previous_session">
<Key ID="str_antistasi_lps_box_text">
<Original></Original>
</Key>
<Key ID="str_antistasi_lps_frame_text">
<Original>Load previous session?</Original>
<English>Load previous session?</English>
<Russian>Загрузить последнюю сессию?</Russian>
</Key>

<Key ID="str_antistasi_lps_button_yes_text">
<Original>Yes</Original>
<English>Yes</English>
<Russian>Да</Russian>
</Key>
<Key ID="str_antistasi_lps_button_yes_tooltip">
<Original>Loads the pervious personal session</Original>
<English>Loads the pervious personal session</English>
<Russian>Загрузить последнюю персональную сессию</Russian>
</Key>

<Key ID="str_antistasi_lps_button_no_text">
<Original>No</Original>
<English>No</English>
<Russian>Нет</Russian>
</Key>
<Key ID="str_antistasi_lps_button_no_tooltip">
<Original>Starts a new game</Original>
<English>Starts a new game</English>
<Russian>Начать новую игру</Russian>
</Key>
</Container>

<Container name="dialog_headquarters">
<Key ID="str_antistasi_hq_box_text">
<Original></Original>
</Key>
<Key ID="str_antistasi_hq_frame_text">
<Original>HQ Options - Commander Only</Original>
<English>HQ Options - Commander Only</English>
</Key>
<Key ID="str_antistasi_hq_button_close_text">
<Original>Close</Original>
<English>Close</English>
</Key>

<Key ID="str_antistasi_hq_button_withdraw_text">
<Original>Grab 100€ from Pool</Original>
<English>Grab 100€ from Pool</English>
</Key>
<Key ID="str_antistasi_hq_button_withdraw_tooltip">
<Original>Take 100€ from faction pool and add it to your personnal account. It will damage your position among the faction in the commander career</Original>
<English>Take 100€ from faction pool and add it to your personnal account. It will damage your position among the faction in the commander career</English>
</Key>

<Key ID="str_antistasi_hq_button_garrisons_text">
<Original>Manage Garrisons</Original>
<English>Manage Garrisons</English>
</Key>
<Key ID="str_antistasi_hq_button_garrisons_tooltip">
<Original>Add or remove units to garrisons</Original>
<English>Add or remove units to garrisons</English>
</Key>

<Key ID="str_antistasi_hq_button_move_headquarters_text">
<Original>Move HQ to another Zone</Original>
<English>Move HQ to another Zone</English>
</Key>
<Key ID="str_antistasi_hq_button_move_headquarters_tooltip">
<Original>Maru will join your group. Ammobox must be empty. To rebuild, select the Build action near Maru</Original>
<English>Maru will join your group. Ammobox must be empty. To rebuild, select the Build action near Maru</English>
</Key>

<Key ID="str_antistasi_hq_button_members_list_text">
<Original>Ingame Member's List</Original>
<English>Ingame Member's List</English>
</Key>
<Key ID="str_antistasi_hq_button_members_list_tooltip">
<Original>Displays which server members are currently playing</Original>
<English>Displays which server members are currently playing</English>
</Key>

<Key ID="str_antistasi_hq_button_rebuild_assets_text">
<Original>Rebuild Assets</Original>
<English>Rebuild Assets</English>
</Key>
<Key ID="str_antistasi_hq_button_rebuild_assets_tooltip">
<Original>Cost: 5.000 €</Original>
<English>Cost: 5.000 €</English>
</Key>

<Key ID="str_antistasi_hq_button_train_ai_text">
<Original>Train AI - Skill Upgrade</Original>
<English>Train AI - Skill Upgrade</English>
</Key>
<Key ID="str_antistasi_hq_button_train_ai_tooltip">
<Original>Current level: %1. Next Level Training Cost: %2€</Original>
<English>Current level: %1. Next Level Training Cost: %2€</English>
</Key>

<Key ID="str_antistasi_hq_button_garage_text">
<Original>Garage Access</Original>
<English>Garage Access</English>
</Key>
<Key ID="str_antistasi_hq_button_garage_tooltip">
<Original>Check Faction garage</Original>
<English>Check Faction garage</English>
</Key>
</Container>
</Package>
</Project>
Loading