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

French translation for 2.6 #4

Merged
merged 3 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_store
.DS_store
.history
4 changes: 4 additions & 0 deletions Will_to_Power/Will_to_Power.tp2
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ LANGUAGE
~English~
~english~
~will_to_power/language/english/setup.tra~
LANGUAGE
~Français~
~french~
~will_to_power/language/french/setup.tra~


//__________________________________________________________________________________
Expand Down
6 changes: 3 additions & 3 deletions Will_to_Power/components/200_thief_psion.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ ACTION_IF !(FILE_EXISTS_IN_GAME ~d5ps000.bam~) BEGIN
COPY ~will_to_power/data/d5ps000.bam~ ~override~
END
COPY ~will_to_power/data/kit/d5pzion.spl~ ~override~
SAY NAME1 ~initialize psionic abilities~
SAY UNIDENTIFIED_DESC ~initialize psionic abilities~
SAY NAME1 @103
SAY UNIDENTIFIED_DESC @103
LPF ALTER_SPELL_HEADER INT_VAR target = 5 location = 4 STR_VAR icon = ~d5ps000~ END
LPF ADD_SPELL_EFFECT INT_VAR opcode = 172 target = 1 timing = 9 STR_VAR resource = ~d5pzion~ END
LPF ADD_SPELL_EFFECT INT_VAR opcode = 206 target = 1 parameter1 = (0 - 1) timing = 9 STR_VAR resource = ~d5pswt_~ END
Expand Down Expand Up @@ -425,4 +425,4 @@ IF_EXISTS BUT_ONLY
//____________________________________________________________________________________


END // end function
END // end function
4 changes: 2 additions & 2 deletions Will_to_Power/components/300_fighter_psion.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ ACTION_IF !(FILE_EXISTS_IN_GAME ~d5ps000.bam~) BEGIN
COPY ~will_to_power/data/d5ps000.bam~ ~override~
END
COPY ~will_to_power/data/kit/d5pzifc.spl~ ~override~
SAY NAME1 ~initialize psionic abilities~
SAY UNIDENTIFIED_DESC ~initialize psionic abilities~
SAY NAME1 @103
SAY UNIDENTIFIED_DESC @103
LPF ALTER_SPELL_HEADER INT_VAR target = 5 location = 4 STR_VAR icon = ~d5ps000~ END
LPF ADD_SPELL_EFFECT INT_VAR opcode = 172 target = 1 timing = 9 STR_VAR resource = ~d5pzifc~ END
LPF ADD_SPELL_EFFECT INT_VAR opcode = 206 target = 1 parameter1 = (0 - 1) timing = 9 STR_VAR resource = ~d5pswt_~ END
Expand Down
6 changes: 3 additions & 3 deletions Will_to_Power/components/400_ranger_psion.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ ACTION_IF !(FILE_EXISTS_IN_GAME ~d5ps000.bam~) BEGIN
COPY ~will_to_power/data/d5ps000.bam~ ~override~
END
COPY ~will_to_power/data/kit/d5pzirc.spl~ ~override~
SAY NAME1 ~initialize psionic abilities~
SAY UNIDENTIFIED_DESC ~initialize psionic abilities~
SAY NAME1 @103
SAY UNIDENTIFIED_DESC @103
LPF ALTER_SPELL_HEADER INT_VAR target = 5 location = 4 STR_VAR icon = ~d5ps000~ END
LPF ADD_SPELL_EFFECT INT_VAR opcode = 172 target = 1 timing = 9 STR_VAR resource = ~d5pzirc~ END
LPF ADD_SPELL_EFFECT INT_VAR opcode = 206 target = 1 parameter1 = (0 - 1) timing = 9 STR_VAR resource = ~d5pswt_~ END
Expand Down Expand Up @@ -382,4 +382,4 @@ END
//___________________________________________________________________________________


END // end function
END // end function
6 changes: 3 additions & 3 deletions Will_to_Power/components/500_mage_psion.tpa
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ ACTION_IF !(FILE_EXISTS_IN_GAME ~d5ps000.bam~) BEGIN
COPY ~will_to_power/data/d5ps000.bam~ ~override~
END
COPY ~will_to_power/data/kit/d5pzicm.spl~ ~override~
SAY NAME1 ~initialize psionic abilities~
SAY UNIDENTIFIED_DESC ~initialize psionic abilities~
SAY NAME1 @103
SAY UNIDENTIFIED_DESC @103
LPF ALTER_SPELL_HEADER INT_VAR target = 5 location = 4 STR_VAR icon = ~d5ps000~ END
LPF ADD_SPELL_EFFECT INT_VAR opcode = 172 target = 1 timing = 9 STR_VAR resource = ~d5pzicm~ END
LPF ADD_SPELL_EFFECT INT_VAR opcode = 206 target = 1 parameter1 = (0 - 1) timing = 9 STR_VAR resource = ~d5pswt_~ END
Expand Down Expand Up @@ -376,4 +376,4 @@ IF_EXISTS BUT_ONLY
//____________________________________________________________________________________


END // end function
END // end function
4 changes: 4 additions & 0 deletions Will_to_Power/language/english/setup.tra
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
//
@101 = ~Initialize Psionics~
@102 = ~Initialize Psionics: this ability will enable the use of psionics, making the character a multiclass. Psionic advancement uses the Cleric XP and thac0 tables.~
@103 = ~initialize psionic abilities~
@111 = ~Check for Wild Talent~
@112 = ~This ability will roll a check to determine whether the character is a 'wild talent' with access to a psionic power.~
@151 = ~Restorative Meditation~
Expand Down Expand Up @@ -420,3 +421,6 @@ Upon resuming <PRO_HISHER> natural form, the psion becomes fatigued and suffers

Unlike lesser psionic powers, these abilities may be used once per day. In each case, using the ability increases the psion's fatigue and causes a temporary reduction of 25 max hit points. Note: you may only learn one of the two ultimate powers in each discipline.~
//

// identify UI
@20000 = ~Remaining Identify Uses: ~
439 changes: 439 additions & 0 deletions Will_to_Power/language/french/setup.tra

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion Will_to_Power/lib/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 @20000
EVALUATE_BUFFER

COPY_EXISTING ~UI.MENU~ ~override~

Expand Down