Skip to content

Commit

Permalink
Sort stringtables (#238)
Browse files Browse the repository at this point in the history
* Sort string tables

* fix hemtt lint

* up undici
  • Loading branch information
diwako authored Feb 17, 2025
1 parent 5dbf5cd commit 5f92096
Show file tree
Hide file tree
Showing 7 changed files with 1,281 additions and 1,284 deletions.
2 changes: 1 addition & 1 deletion .hemtt/project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ authority = "diwako_dui"
folder = "diwako_dui"

[lints.stringtables.sorted]
enabled = false
options.only-lang = true
20 changes: 10 additions & 10 deletions addons/buddy/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@
<English>Assign Buddy [HUD]</English>
<Czech>Přiřadit buddyho [HUD]</Czech>
<French>Assigner Buddy [HUD]</French>
<German>Als Buddy markieren [HUD]</German>
<Korean>친구로 등록 [HUD]</Korean>
<Japanese>バディに登録 [HUD]</Japanese>
<Spanish>Marcar Amigo</Spanish>
<Polish>Przydziel do dwójki [HUD]</Polish>
<Portuguese>Marcar Parceiro</Portuguese>
<Spanish>Marcar Amigo</Spanish>
<Russian>Назначить напарников [HUD]</Russian>
<Chinesesimp>搭档登录 [HUD]</Chinesesimp>
<German>Als Buddy markieren [HUD]</German>
<Korean>친구로 등록 [HUD]</Korean>
<Japanese>バディに登録 [HUD]</Japanese>
<Chinese>搭檔登錄 [HUD]</Chinese>
<Chinesesimp>搭档登录 [HUD]</Chinesesimp>
<Turkish>Eş Seç [HUD]</Turkish>
</Key>
<Key ID="STR_dui_buddy_action_remove">
<English>Unassign Buddy [HUD]</English>
<Czech>Zrušit přiřazení buddyho [HUD]</Czech>
<French>Désassigner Buddy [HUD]</French>
<German>Buddymarkierung aufheben [HUD]</German>
<Korean>친구 해제 [HUD]</Korean>
<Japanese>バディを解除 [HUD]</Japanese>
<Spanish>Desmarcar Amigo</Spanish>
<Polish>Usuń z dwójki [HUD]</Polish>
<Portuguese>Desmarcar Parceiro</Portuguese>
<Spanish>Desmarcar Amigo</Spanish>
<Russian>Распустить напарников [HUD]</Russian>
<Chinesesimp>搭档解除 [HUD]</Chinesesimp>
<German>Buddymarkierung aufheben [HUD]</German>
<Korean>친구 해제 [HUD]</Korean>
<Japanese>バディを解除 [HUD]</Japanese>
<Chinese>搭檔解除 [HUD]</Chinese>
<Chinesesimp>搭档解除 [HUD]</Chinesesimp>
<Turkish>Eş Kaldır [HUD]</Turkish>
</Key>
</Package>
Expand Down
246 changes: 123 additions & 123 deletions addons/indicators/stringtable.xml

Large diffs are not rendered by default.

1,956 changes: 976 additions & 980 deletions addons/main/stringtable.xml

Large diffs are not rendered by default.

330 changes: 165 additions & 165 deletions addons/nametags/stringtable.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions addons/radar/functions/fnc_cacheLoop.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (diwako_dui_compass_hide_blip_alone_group && {_isAloneInGroup}) then {
};

if (GVAR(group_by_vehicle)) then {
private _newGrp = _group apply { [objectParent _x, parseNumber !((driver vehicle _x) isEqualTo _x), _x] };
private _newGrp = _group apply { [objectParent _x, parseNumber ((driver vehicle _x) isNotEqualTo _x), _x] };
_newGrp sort true;
_newGrp = _newGrp apply { _x select 2 };

Expand Down Expand Up @@ -104,7 +104,7 @@ if (diwako_dui_enable_compass) then {
private _compass = [_player] call FUNC(getCompass);
_compassCtrl ctrlSetText (diwako_dui_compass_style select (GVAR(show_cardinal_points) && {_compass isNotEqualTo ""}));

if !(_compass isEqualTo "") then {
if (_compass isNotEqualTo "") then {
GVAR(maxDegrees) = GVAR(oddDirectionCompasses) getVariable [_compass, 360];
};

Expand Down
7 changes: 4 additions & 3 deletions tools/nodejs_tools/package-lock.json

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

0 comments on commit 5f92096

Please sign in to comment.