[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Limited translation options
[Thread Prev] | [Thread Next]
- Subject: Re: Limited translation options
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Sat, 17 Oct 2026 13:34:52 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 16/10/2026 à 20:33, gbWilly a écrit :
If I look at the code for MyLanguage.module and Language.Class they seem to serve a different goal. I didn't go serach how they are integrated into the rest, just purely comparing both. So, with the Language.class 'cleaned up and sorted out', do you want to sync it with the MyLanguage.module? Or are you first going to investigate why the MyLanguage.module was created in the first place. Just let me know and I'll make it all sync with each other if needed. gbWilly ...there is always a Catch if things go wrong! P.S. My excuses if my logs weren't correct..
Yes. It's just a matter of avoiding duplicated code between 'Language.class' and 'MyLanguage.class'. But 'MyLanguage' has IDE-specific methods that must be kept.
So, concretely:1) Remove the 'Name' and 'EnglishName' private variables of 'MyLanguage', and replace them by calls to 'Language'.
2) Replace the 'Find()' method by 'Language.Find()', or call 'Language.Find()' from 'Find()' if you don't want to touche other parts of the source code. The second argument of 'Find()' will be removed as it is used by 'MyLanguage' only.
Regards, -- Benoît Minisini.
| Re: Limited translation options | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Limited translation options | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Limited translation options | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Limited translation options | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: Limited translation options | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Limited translation options | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: Limited translation options | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Limited translation options | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Limited translation options | gbWilly <gbWilly@xxxxxxxxxxxxxx> |
| Re: Limited translation options | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
| Re: Limited translation options | gbWilly <gbWilly@xxxxxxxxxxxxxx> |