Jump to content
TNG Community
Leo te Braake

add_person_siblings_row_v12.3.0.6-b4.cfg

Recommended Posts

Leo te Braake

I use this mod a few months, and it suits my needs perfectly.

There was only one silly glitch: a language string for Dutch. I researched how to correct it, and came to modify the mod's config file.

My language is set to Dutch(UTF8)

I found this block:

===================

%target:languages/Dutch-UTF8/cust_text.php%
%fileoptional:%
%location:%
//Mods should put their changes before this line, local changes should come after it.
%end:%

%insert:before%
// Add Person Siblings Row custom text
$text['infosibling'] = "Broer of zus";
// $text['infosiblings'] = "Broeren  en zussen";
$text['infosiblings'] = "Broers  en zussen";
$text['sibling_partners'] = "Partners: ";
//$text['sibnote'] = " (current person) ";
$text['sibnote'] = " (huidige persoon) ";
// end of Add Person Siblings Row custom text

%end:%

===================

The bold italic line was my correction for the line above it.

But: it had no effect. Yes, I restarted TNG after a reboot of the computer.

How can that be? I wanted to test it, and then give this to the developers to include in the next version, but that must be postponed now...

 

Share this post


Link to post
Share on other sites
Ken Roy

Leo,

Does the published version of the Add Person Siblings Row mod not have the correct text as published on the TNG Wiki?

My source for the Dutch-UTF8 language shows

%insert:before%
// Add Person Siblings Row custom text
$text['infosibling'] = "Broer of zus";
$text['infosiblings'] = "Broers en zussen";
$text['sibling_partners'] = "Partners: ";
$text['sibnote'] = " ((Huidige persoon)) ";
// end of Add Person Siblings Row custom text

%end:%

Try uninstalling your mod version and installing the published version v12.3.0.6b which was updated to correct Dutch text variable thanks to Rob Severijns

Share this post


Link to post
Share on other sites
Michel KIRSCH
On 5/6/2021 at 11:00 PM, Leo te Braake said:

How can that be? I w

Leo,

BEFORE modifying a cfg file, you must uninstall the Mod

AFTER modifying the cfg file, you must reinstall the mod.

Your change will now appear.

Michel

Share this post


Link to post
Share on other sites
Ken Roy

As I previously indicated, the Dutch language custom text for this mod has been published as add_person_siblings_row_v12.3.0.6b.cfg.

I have no clue where add_person_siblings_row_v12.3.0.6-b4.cfg version comes from. 

The preferred method of overriding or changing cust_text.php variables is to put them after the

Quote

//Mods should put their changes before this line, local changes should come after it.

rather than modifying the mod cfg files.

Share this post


Link to post
Share on other sites
Michel KIRSCH
1 hour ago, Ken Roy said:

I have no clue where add_person_siblings_row_v12.3.0.6-b4.cfg version comes from

Ken one week ago i was working with this version too. But I don't know from where it comes. I've replaced it with the "new" 6b.

I'm sure that the version comes from the author... May be in a topic somewhere...

I've deleted the old b4 version, but i have a b3 version of december 2020. Probably tests versions...

 

Michel

add_person_siblings_row_v12.3.0.6-b3.zip

Share this post


Link to post
Share on other sites
Ken Roy

Must be a version from when we were beta testing the changes.  However it should be replaced the published version of the mod. 

Share this post


Link to post
Share on other sites
Leo te Braake
2 hours ago, Ken Roy said:

As I previously indicated, the Dutch language custom text for this mod has been published as add_person_siblings_row_v12.3.0.6b.cfg.

I have no clue where add_person_siblings_row_v12.3.0.6-b4.cfg version comes from. 

The preferred method of overriding or changing cust_text.php variables is to put them after the

rather than modifying the mod cfg files.

I copied the heading  add_person_siblings_row_v12.3.0.6-b4.cfg

from this thread from the mod manager page, exactly because I was confused that you  had this version with the right strings. something must have gone wrong in versioning...

Being hardly a coder, I was not very accustomed with your preferred method, and changing the cfg file on the spot did the job. As soon as there would appear a newer version, it would contain the right strings, I presumed.

Share this post


Link to post
Share on other sites
Leo te Braake
3 hours ago, Michel KIRSCH said:

Leo,

BEFORE modifying a cfg file, you must uninstall the Mod

AFTER modifying the cfg file, you must reinstall the mod.

Your change will now appear.

Michel

Ah, that makes sense. I had indeed forgotten that. Now I see Broers instead of Broeren.


Y-a-tíl un erreur comparable dans le français? Je me souviens que ma soeur disait Je vais ou elle voulait dire Je vois. Nous etions apprenant le français à l'école :-)

Share this post


Link to post
Share on other sites
Michel KIRSCH
3 hours ago, Leo te Braake said:

something must have gone wrong in versioning.

Leo, the 6-b3 and 6-b4 version are beta versions.

If you download the actual 12.3.0.6b and install it (instead the 6-b4 version) i think all will be ok for you.

Check on the https://tng.lythgoes.net/wiki/index.php?title=Category:Mods_for_TNG_v13

Michel

Share this post


Link to post
Share on other sites
Leo te Braake

Thanks Michel & Ken, topic solved now.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×