From c6ce19a318766d0e012f7b99756dd53dc423dff5 Mon Sep 17 00:00:00 2001
From: TenuredCLOUD <85143513+TenuredCLOUD@users.noreply.github.com>
Date: Sat, 4 Jul 2026 14:37:57 -0700
Subject: [PATCH 1/2] Cooking - Improve localization
- title, improve progress localization for cooking processor, now passes full string for cooking action type so localized strings passed won't have the attached `ing` tag at the end of the action
---
addons/cooking/stringtable.xml | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/addons/cooking/stringtable.xml b/addons/cooking/stringtable.xml
index ddd329cb..4b170eea 100644
--- a/addons/cooking/stringtable.xml
+++ b/addons/cooking/stringtable.xml
@@ -82,20 +82,20 @@
Bunu yapmak için %1 yemek pişirme TP'sine ihtiyacınız var (%2 TP'niz var).
- %1ing %2... %3%4 complete
- %1ím %2... %3%4 hotovo
- %1 de %2... %3%4 terminé
- %1ando %2... %3%4 completado
- %1ando %2... %3%4 completato
- %1 %2... ukończono %3%4
- %1ando %2... %3%4 concluído
- %1 %2... %3%4 завершено
- %1e %2... %3%4 abgeschlossen
- %2 %1 중... %3%4 완료
- %2を%1中... %3%4 完了
- 正在 %1 %2... %3%4 已完成
- 正在 %1 %2... %3%4 已完成
- %2 %1iliyor... %%%3 tamamlandı
+ %1 %2... %3%4 complete
+ %1 %2... z %3%4 dokončeno
+ %1 %2... %3%4 terminé
+ %1 %2... %3%4 completado
+ %1 %2... %3%4 completato
+ %1 %2... ukończono w %3%4
+ %1 %2... %3%4 concluído
+ %1 %2... завершено: %3%4
+ %1 %2... %3%4 abgeschlossen
+ %1 %2... %3%4 완료됨
+ %1 %2... %3%4 完了
+ %1 %2... 已完成 %3%4
+ %1 %2... 已完成 %3%4
+ %1 %2... %%3%4 tamamlandı
Required Items for %1ing:
From 7a1716daae4b06f007ed89847ce5577e3eccc654 Mon Sep 17 00:00:00 2001
From: TenuredCLOUD <85143513+TenuredCLOUD@users.noreply.github.com>
Date: Sat, 4 Jul 2026 14:58:09 -0700
Subject: [PATCH 2/2] Some strings I missed
---
.../cooking/functions/fnc_processRecipe.sqf | 3 +-
addons/cooking/stringtable.xml | 66 +++++++------------
2 files changed, 26 insertions(+), 43 deletions(-)
diff --git a/addons/cooking/functions/fnc_processRecipe.sqf b/addons/cooking/functions/fnc_processRecipe.sqf
index 3fc7fc4c..87bcff8b 100644
--- a/addons/cooking/functions/fnc_processRecipe.sqf
+++ b/addons/cooking/functions/fnc_processRecipe.sqf
@@ -115,9 +115,8 @@ private _currentStep = 0;
private _currentXP = player getVariable [QGVAR(xp), MACRO_PLAYER_DEFAULTS_LOW];
player setVariable [QGVAR(xp), _currentXP + _outputXP, true];
- [QEGVAR(common,tileText), format [localize LSTRING(GainXP), _outputXP, toLower _cookingMethod, _displayName]] call CBA_fnc_localEvent;
+ ctrlSetText [1001, format [localize LSTRING(GainXP), _outputXP, toLower _cookingMethod, _displayName]];
- ctrlSetText [1001, format [localize LSTRING(Success), toLower _cookingMethod, _outputCount, _displayName]];
player setVariable [QGVAR(isCooking), nil];
_dialog displayRemoveEventHandler ["KeyDown", _cookInterrupt];
[982379, [1600, 1601, 1602], true] call EFUNC(common,displayShowControls);
diff --git a/addons/cooking/stringtable.xml b/addons/cooking/stringtable.xml
index 4b170eea..cd10263c 100644
--- a/addons/cooking/stringtable.xml
+++ b/addons/cooking/stringtable.xml
@@ -34,20 +34,20 @@
Ne pişirmek istersiniz?
- You gained %1 XP from %2ing %3.
- Získali jste %1 zkušeností za %2í %3.
- Vous avez gagné %1 XP en %2ant %3.
- Has ganado %1 XP al %2ar %3.
- Hai guadagnato %1 XP %1ando %3.
- Zyskałeś %1 PD za %2 %3.
- Ganhaste %1 XP ao %2ar %3.
- Вы получили %1 опыта за %2 %3.
- Du hast %1 EP durch das %2 von %3 erhalten.
- %3을(를) %2하여 %1 XP를 획득했습니다.
- %3の%2により %1 XPを獲得しました。
- 你通過 %2 %3 獲得了 %1 經驗值。
- 你通过 %2 %3 获得了 %1 经验值。
- %3 %2erek %1 TP kazandınız.
+ You gained %1 XP from %2 %3
+ Získal jsi %1 XP za %2 %3
+ Vous avez gagné %1 XP grâce à %2 %3
+ Has ganado %1 XP por %2 %3
+ Hai guadagnato %1 XP da %2 %3
+ Otrzymujesz %1 XP za %2 %3
+ Você ganhou %1 XP por %2 %3
+ Вы получили %1 XP за %2 %3
+ Du hast %1 XP für %2 %3 erhalten
+ %2 %3(으)로 인해 %1 XP를 획득했습니다
+ %2 %3により %1 XP を獲得しました
+ 你透過 %2 %3 獲得了 %1 經驗值
+ 你通过 %2 %3 获得了 %1 经验值
+ %2 %3 işleminden %1 XP kazandınız
Cooking interrupted...
@@ -98,36 +98,20 @@
%1 %2... %%3%4 tamamlandı
- Required Items for %1ing:
- Požadované položky pro %2í:
+ Required Items for %1:
+ Požadované předměty pro %1:
Objets requis pour %1 :
- Objetos requeridos para %1ar:
- Oggetti necessari per %1are:
- Wymagane przedmioty do %1:
- Itens necessários para %1ar:
+ Objetos requeridos para %1:
+ Oggetti richiesti per %1:
+ Wymagane przedmioty dla %1:
+ Itens necessários para %1:
Необходимые предметы для %1:
- Benötigte Gegenstände zum %1en:
+ Benötigte Gegenstände für %1:
%1에 필요한 아이템:
- %1に必要なアイテム:
- %1 所需物品:
- %1 所需物品:
- %1 için gerekli öğeler:
-
-
- You %1ed %2 %3!
- U%1il jste %2 %3!
- Vous avez %1é %2 %3!
- ¡Has %1ado %2 %3!
- Hai %1ato %2 %3!
- %1łeś %2 %3!
- Tu %1aste %2 %3!
- Вы %1 %2 %3!
- Du hast %2 %3 ge%1t!
- %2개의 %3을(를) %1했습니다!
- %2個の%3を%1しました!
- 你 %1 了 %2 個 %3!
- 你 %1 了 %2 个 %3!
- %2 adet %3 %1diniz!
+ %1 に必要なアイテム:
+ 製造 %1 所需物品:
+ 制造 %1 所需物品:
+ %1 için Gerekli Öğeler: