Template files for other languatges, why not.

This commit is contained in:
Mari the Deer 2020-05-16 12:22:43 +02:00
commit 01ab428b1e
17 changed files with 154 additions and 7 deletions

17
language.de_base Normal file
View file

@ -0,0 +1,17 @@
[de]
// tags, pickups
// colored tags for keys
// shortened doom key pickup messages
// edited vanilla pickup messages
// other edited messages
// Re-tagged monsters
// Additional tags
// obituaries
// edited vanilla obituaries
// misc
// boss tags
// targetter
// score messages
// intermission tips
// intermission fanart
// intermission 4komas (TBD)

2
language.de_lore Normal file
View file

@ -0,0 +1,2 @@
// this file was generated by mklang, do not edit directly
[de]

5
language.de_menu Normal file
View file

@ -0,0 +1,5 @@
[de]
// keybinds
// mod menu
// knowledge base
// mission entries

23
language.de_voice Normal file
View file

@ -0,0 +1,23 @@
[de]
// voice name
// new weapon received
// locked door
// jammed door (strife)
// puzzle item failure
// puzzle item success
// first enemy encounter (20 seconds cooldown since all enemies dead)
// played at map start
// every time a secret is found
// frag taunts
// oopsies
// getting hurt by monsters
// getting hurt by friendlies
// hurting a friendly
// greeting another player
// ragekit
// --- comebacks for korax hub lines ---
// "Greetings mortal, are you ready to die?"
// "My servants can smell your blood, human"
// "You have played this game too long, mortal, I think I shall remove you from the board"
// "Worship me and I may be yet merciful, then again, maybe not"
// "Are you strong enough to face your own masters?"

View file

@ -26,7 +26,7 @@ SWWM_LORETXT_SPARKSTER = "\cxDesignation:\c-\n\cf Model S-5 Biospark Carbine\c-\
SWWM_LORETAG_KNOWLEDGEBASE = "Library";
SWWM_LORETAB_KNOWLEDGEBASE = "Item";
SWWM_LOREREL_KNOWLEDGEBASE = "Demolitionist;AkariLabs;Taro;Saya";
SWWM_LORETXT_KNOWLEDGEBASE = "\cxDesignation:\c-\n\cf Demolitionist Library\c-\n\cxManufacturer:\c-\n\cf Akari Labs\c-\n\cxClassification:\c-\n\cf Internal Knowledge Base\c-\n\nThe \cfDemolitionist Library\c- is what you're currently reading. This internal database will provide you with additional information on obtained items during your mission, along with related information on various people and organizations, or interesting bits of lore. The library is updated automatically with each item you obtain and each additional entry you read, based on their related information, so be sure to check it out once in a while, if you feel like having a nice read. This is especially important for the various items you can use, or your weapons, as the entries for them will instruct you on how to adequately operate them.\n\nPlease note that the quality of articles may vary, depending entirely on how motivated the editor (\cfTaro\c-) or the lead writer (\cfSaya\c-) felt when writing them. Additional localizations of this library are available, though this is currently only limited to Spanish (handled by \cfAkari Labs\c-' very own professional translator, \cfAna Blanco\c-). Other planned languages include French, Italian, German, Russian and Japanese.\n\n\cxSaya's Notes:\c-\n\cfOh yeah, you can also find notes like this one here in a couple articles if I feel like saying something extra that doesn't \"fit the tone\" of the whole thing, I guess.\c-";
SWWM_LORETXT_KNOWLEDGEBASE = "\cxDesignation:\c-\n\cf Demolitionist Library\c-\n\cxManufacturer:\c-\n\cf Akari Labs\c-\n\cxClassification:\c-\n\cf Internal Knowledge Base\c-\n\nThe \cfDemolitionist Library\c- is what you're currently reading. This internal database will provide you with additional information on obtained items during your mission, along with related information on various people and organizations, or interesting bits of lore. The library is updated automatically with each item you obtain and each additional entry you read, based on their related information, so be sure to check it out once in a while, if you feel like having a nice read. This is especially important for the various items you can use, or your weapons, as the entries for them will instruct you on how to adequately operate them.\n\nPlease note that the quality of articles may vary, depending entirely on how motivated the editor (\cfTaro\c-) or the lead writer (\cfSaya\c-) felt when writing them. Additional localizations of this library are available, though this is currently only limited to Spanish (handled by \cfAkari Labs\c-' very own professional translator, \cfAna Blanco\c-) and Russian. Other planned languages include French, Italian, German and Japanese.\n\n\cxSaya's Notes:\c-\n\cfOh yeah, you can also find notes like this one here in a couple articles if I feel like saying something extra that doesn't \"fit the tone\" of the whole thing, I guess.\c-";
SWWM_LORETAG_HAMMERSPACE = "Hammerspace";
SWWM_LORETAB_HAMMERSPACE = "Item";
SWWM_LOREREL_HAMMERSPACE = "Cyrus;Saya";

17
language.fr_base Normal file
View file

@ -0,0 +1,17 @@
[fr]
// tags, pickups
// colored tags for keys
// shortened doom key pickup messages
// edited vanilla pickup messages
// other edited messages
// Re-tagged monsters
// Additional tags
// obituaries
// edited vanilla obituaries
// misc
// boss tags
// targetter
// score messages
// intermission tips
// intermission fanart
// intermission 4komas (TBD)

2
language.fr_lore Normal file
View file

@ -0,0 +1,2 @@
// this file was generated by mklang, do not edit directly
[fr]

5
language.fr_menu Normal file
View file

@ -0,0 +1,5 @@
[fr]
// keybinds
// mod menu
// knowledge base
// mission entries

23
language.fr_voice Normal file
View file

@ -0,0 +1,23 @@
[fr]
// voice name
// new weapon received
// locked door
// jammed door (strife)
// puzzle item failure
// puzzle item success
// first enemy encounter (20 seconds cooldown since all enemies dead)
// played at map start
// every time a secret is found
// frag taunts
// oopsies
// getting hurt by monsters
// getting hurt by friendlies
// hurting a friendly
// greeting another player
// ragekit
// --- comebacks for korax hub lines ---
// "Greetings mortal, are you ready to die?"
// "My servants can smell your blood, human"
// "You have played this game too long, mortal, I think I shall remove you from the board"
// "Worship me and I may be yet merciful, then again, maybe not"
// "Are you strong enough to face your own masters?"

17
language.it_base Normal file
View file

@ -0,0 +1,17 @@
[it]
// tags, pickups
// colored tags for keys
// shortened doom key pickup messages
// edited vanilla pickup messages
// other edited messages
// Re-tagged monsters
// Additional tags
// obituaries
// edited vanilla obituaries
// misc
// boss tags
// targetter
// score messages
// intermission tips
// intermission fanart
// intermission 4komas (TBD)

2
language.it_lore Normal file
View file

@ -0,0 +1,2 @@
// this file was generated by mklang, do not edit directly
[it]

5
language.it_menu Normal file
View file

@ -0,0 +1,5 @@
[it]
// keybinds
// mod menu
// knowledge base
// mission entries

23
language.it_voice Normal file
View file

@ -0,0 +1,23 @@
[it]
// voice name
// new weapon received
// locked door
// jammed door (strife)
// puzzle item failure
// puzzle item success
// first enemy encounter (20 seconds cooldown since all enemies dead)
// played at map start
// every time a secret is found
// frag taunts
// oopsies
// getting hurt by monsters
// getting hurt by friendlies
// hurting a friendly
// greeting another player
// ragekit
// --- comebacks for korax hub lines ---
// "Greetings mortal, are you ready to die?"
// "My servants can smell your blood, human"
// "You have played this game too long, mortal, I think I shall remove you from the board"
// "Worship me and I may be yet merciful, then again, maybe not"
// "Are you strong enough to face your own masters?"

View file

@ -1,4 +1,4 @@
[jp]
[ru]
// tags, pickups
// colored tags for keys
// shortened doom key pickup messages

View file

@ -1,2 +1,2 @@
[default]
SWWM_MODVER="\cxSWWM GZ\c- r243 (Sat 16 May 12:10:20 CEST 2020)";
SWWM_MODVER="\cxSWWM GZ\c- r244 (Sat 16 May 12:22:43 CEST 2020)";

View file

@ -14,7 +14,7 @@ TXT
The **Demolitionist Library** is what you're currently reading. This internal database will provide you with additional information on obtained items during your mission, along with related information on various people and organizations, or interesting bits of lore. The library is updated automatically with each item you obtain and each additional entry you read, based on their related information, so be sure to check it out once in a while, if you feel like having a nice read. This is especially important for the various items you can use, or your weapons, as the entries for them will instruct you on how to adequately operate them.
Please note that the quality of articles may vary, depending entirely on how motivated the editor (**Taro**) or the lead writer (**Saya**) felt when writing them. Additional localizations of this library are available, though this is currently only limited to Spanish (handled by **Akari Labs**' very own professional translator, **Ana Blanco**). Other planned languages include French, Italian, German, Russian and Japanese.
Please note that the quality of articles may vary, depending entirely on how motivated the editor (**Taro**) or the lead writer (**Saya**) felt when writing them. Additional localizations of this library are available, though this is currently only limited to Spanish (handled by **Akari Labs**' very own professional translator, **Ana Blanco**) and Russian. Other planned languages include French, Italian, German and Japanese.
\cxSaya's Notes:\c-
\cfOh yeah, you can also find notes like this one here in a couple articles if I feel like saying something extra that doesn't "fit the tone" of the whole thing, I guess.\c-

View file

@ -162,7 +162,7 @@ static int ftw_callback( const char *path, const struct stat *st,
return FTW_CONTINUE;
}
#define NLANGS 4
#define NLANGS 7
int main( void )
{
@ -171,14 +171,20 @@ int main( void )
"default",
"es",
"jp",
"ru"
"ru",
"fr",
"it",
"de"
};
const char langfiles[NLANGS][32] =
{
"../language.def_lore",
"../language.es_lore",
"../language.jp_lore",
"../language.ru_lore"
"../language.ru_lore",
"../language.fr_lore",
"../language.it_lore",
"../language.de_lore"
};
for ( int i=0; i<NLANGS; i++ )
{