Skip to content

Commit

Permalink
translate identify UI
Browse files Browse the repository at this point in the history
  • Loading branch information
mleduque committed Nov 6, 2023
1 parent 8c6bcaa commit 0371bba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions SubtleD_Spell_Tweaks/lang/english/setup.tra
Original file line number Diff line number Diff line change
Expand Up @@ -1804,3 +1804,6 @@ While it appears as though the genie is gated, in actuality it only generates a
@150100 = ~Choose a familiar from the following options. This choice is permanent.~ // tip
@150101 = ~Choose a familiar from the following options~ // title
@150102 = ~This choice is permanent~ // label

// identify UI
@150300 = ~Remaining Identify Uses: ~
3 changes: 3 additions & 0 deletions SubtleD_Spell_Tweaks/lang/french/spells.tra
Original file line number Diff line number Diff line change
Expand Up @@ -508,3 +508,6 @@ Rat
@150100 = ~Choisissez un familier parmi les options suivantes. Ce choix est définitif.~ // tip
@150101 = ~Choisissez un familier parmi les options suivantes~ // title
@150102 = ~Ce choix est définitif~ // label

// identify UI
@150300 = ~Identifications restantes : ~
4 changes: 3 additions & 1 deletion SubtleD_Spell_Tweaks/lib/semi_spont/B3Identify.tph
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ B3Identify_UnidentifiedCount = -1
---------------

function B3Identify_RemainingUsesText()
return "Remaining Identify Uses: "..B3Identify_UseCount
return "%remaining_uses_text%"..B3Identify_UseCount
end

function B3Identify_IdentifySlot(slotinfo)
Expand Down Expand Up @@ -359,6 +359,8 @@ menu
LAF B3_CONTINGENCY_REDIRECT_INSTALL END

COPY ~.../B3Identify-inlined/copy/M_B3IDEN.lua~ ~override~
SPRINT remaining_uses_text @150300
EVALUATE_BUFFER

COPY_EXISTING ~UI.MENU~ ~override~

Expand Down

0 comments on commit 0371bba

Please sign in to comment.