The time now is Sat 25 May 2013, 16:08
All times are UTC - 4 |
| Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Tue 17 Feb 2009, 18:14 Post subject:
|
|
esmourguit,
remasterpup2 already has the code for ntfs, line 81:
| Code: | | mount -t $AFS /dev/$ATAG /mnt/$ATAG > /dev/null 2>&1 |
So if ntfs does not work, there must be a bug somewhere else.
I don't know if in the script itself, or somewhere else in Puppy.
Do you use a original Puppy 4.12, or a puplet?
I will not have time to test it myself before weekend.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1154 Location: Sur l'ile aux oiseaux.
|
Posted: Wed 18 Feb 2009, 04:46 Post subject:
|
|
Bonjour,
@MU,
I have Burnt and ran a brand new Puppy 4.1.2 (kernel 2.6.25.16) with "puppy pfix=ram"
The remasterpup2 localized script could create puppylivecdbuild on ntfs partition, but still no custom-puppy.iso.
I have localized chooselocale script and it works OK. Attached file
I started localizing puppyinstaller, but there is already something wrong. I continue.
Cordialement
New uploaded version is now fixed.
| Description |
|

Download |
| Filename |
chooselocale-420Loc.pet |
| Filesize |
4.74 KB |
| Downloaded |
471 Time(s) |
_________________ Toutou Linux - Pets francisés
Last edited by esmourguit on Tue 24 Feb 2009, 11:59; edited 1 time in total
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1154 Location: Sur l'ile aux oiseaux.
|
Posted: Wed 18 Feb 2009, 09:26 Post subject:
|
|
Bonjour,
@MU,
About xwin localized and the issues line 482 and 490.
Here are the comments after exiting to prompt :
| Quote: | /usr/X11R7/bin/xwin:line 482:unexpected EOF while looking for matching '"'
/usr/X11R7/bin/xwin:line 490: Syntax error:unexpected end of file |
What about that?
Cordialement
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1154 Location: Sur l'ile aux oiseaux.
|
Posted: Thu 19 Feb 2009, 09:05 Post subject:
|
|
Bonjour,
I have localized /usr/sbin/bootmanager. I have to test it before upload.
Puppyinstaller script : always with the same issues not yet fixed.
Cordialement
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1154 Location: Sur l'ile aux oiseaux.
|
Posted: Thu 19 Feb 2009, 09:47 Post subject:
|
|
Bonjour,
Here is bootmanager localized.
Cordialement
| Description |
|

Download |
| Filename |
bootmanage420-loc.tar.gz |
| Filesize |
7.52 KB |
| Downloaded |
592 Time(s) |
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Thu 19 Feb 2009, 16:28 Post subject:
|
|
| esmourguit wrote: | Bonjour,
Sorry for the inconvenience, but in fact it was missing the file /usr/share/locale/en/LC_MESSAGES/xorgwizard.mo. But not sure it was the issue.
Then it works.
Attached file xorgwizard4.2-localized and connectwizard-420loc for test and english and french files
Cordialement  |
Hi there esmorguit. I've been testing connectwizard there, because someone translated it to spanish, but it isn't working for me... no error shows in console, but it doesn't run... Any ideas of what could be happening?
Mine isn't working, either. I am guessing it's an issue with locales, and i will solve it soon. Don't worry too much about it.
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 19 Feb 2009, 17:58 Post subject:
|
|
| esmourguit wrote: | Bonjour,
@MU,
About xwin localized and the issues line 482 and 490.
Here are the comments after exiting to prompt :
| Quote: | /usr/X11R7/bin/xwin:line 482:unexpected EOF while looking for matching '"'
/usr/X11R7/bin/xwin:line 490: Syntax error:unexpected end of file |
What about that?
Cordialement  |
I'll have a look at it at weekend.
Within the week, I am too busy with my course and tired, when I come home.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1154 Location: Sur l'ile aux oiseaux.
|
Posted: Fri 20 Feb 2009, 03:57 Post subject:
|
|
Bonjour,
@Droope,
| Quote: | | Hi there esmorguit. I've been testing connectwizard there, because someone translated it to spanish, but it isn't working for me... no error shows in console, but it doesn't run... Any ideas of what could be happening? | Sorry, there is an error in line 17, in /usr/share/locale/fr/LC_MESSAGES/connectwizard.mo. (only this one, the english.mo file is OK).
Change
comment5=
by
comment6=
Cordialement
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1154 Location: Sur l'ile aux oiseaux.
|
Posted: Fri 20 Feb 2009, 12:08 Post subject:
|
|
Bonjour,
About puppyinstaller script : there are issues when we get to the part on superfloppy and following.
The script does not take the localization variables.
I don't think this is a job in my skills. Sorry.
I will work on eventmanager script for now.
Cordialement
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Sat 21 Feb 2009, 13:01 Post subject:
|
|
hi there, made a list for the spanish community, guess it could be usefull here too.
Connect wizard
Xwin
XorgWizard
Remasterpup2
Chooselocale
Bootmanager
Esmorguit, thanks a lot for all your work i mean it, it's really apreciated.
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 21 Feb 2009, 18:08 Post subject:
|
|
esmourguit,
I tested your xorgwizard today in a new newyearspup.
I get no errors so far, except there:
french mo:
line 166
(: instead of =)
english mo, line 166 as in french, and line 276, there is a " in the end, that must be removed.
You can check for such errors, if you examine:
/tmp/xorgwizard-errors.log
I attach a pet with the two updated mo files and the unmodified xorgwizard.
So this is an updated pet of the one posted here:
http://www.murga-linux.com/puppy/viewtopic.php?p=274521#274521
I plan to incorporate the localized scripts from this thread in newyearspup next weekend
Mark
| Description |
|

Download |
| Filename |
xorgwizard420-loc.pet |
| Filesize |
24.1 KB |
| Downloaded |
515 Time(s) |
_________________ my recommended links
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1154 Location: Sur l'ile aux oiseaux.
|
Posted: Mon 23 Feb 2009, 04:21 Post subject:
|
|
Bonjour,
@MU,
Thank you Mark. And what about xwin?
Here is cups_shell localized, i'had forgotten to upload.
Cordialement
| Description |
|

Download |
| Filename |
cups_shell-420Loc.tar.gz |
| Filesize |
2.69 KB |
| Downloaded |
510 Time(s) |
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
droope

Joined: 31 Jul 2008 Posts: 814 Location: Uruguay, Mercedes
|
Posted: Fri 27 Feb 2009, 10:46 Post subject:
|
|
Hi there, a member of Spanish community, not me, suggests this
| Code: | #-- simple localization for scripts by MU. Essai de JJM
mo=connectwizard.mo
if [ -f "/usr/share/locale/$LANG/LC_MESSAGES/$mo" ];then
. /usr/share/locale/$LANG/LC_MESSAGES/$mo
else
. /usr/share/locale/en/LC_MESSAGES/$mo
fi |
Instead of this:
| Code: | #-- simple localization for scripts by MU. Essai de JJM
mo=connectwizard.mo
lng=`echo $LANG | sed "s/\(..\).*/\1/"`
. "/usr/share/locale/en/LC_MESSAGES/$mo"
if [ -f "/usr/share/locale/$lng/LC_MESSAGES/$mo" ];then
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
fi |
Reasons:
-He erases the " characters, otherwise it wont work. (In Spanish).
-He erases the order that chops the $lang variable (from being es_ES it would become "es" so that would limit the possibility of translating to other languages). He says he'd rather use $lang directly and then place the translations in "es_ES" or "es_AR", for example.
- Allows the possibility of, if desirable, the other localizations can be erased, so as to reduce the iso size. If no translation exists, it'll use the english one.
I don't understand much the code, but thought it could be iteresting. If you think it is worth it, i'll change all localized scripts to use it, so that you don't have to do it.
|
|
Back to top
|
|
 |
esmourguit
Joined: 17 Nov 2006 Posts: 1154 Location: Sur l'ile aux oiseaux.
|
Posted: Fri 27 Feb 2009, 12:14 Post subject:
|
|
Bonjour,
Let's wait the MU's opinion.
It sounds interesting and there may be various specific localizations in the same language in relation to different countries.
Cordialement
Edited Feb 27 18:00
I just look in the connectwizard file in version 4.20 RC1, and it is already like this:
| Quote: | #-- simple localization for scripts by MU.
mo=connectwizard.mo
lng=`echo $LANG | sed "s/\(..\).*/\1/"`
#echo $lng
. "/usr/share/locale/en/LC_MESSAGES/$mo"
if [ -f "/usr/share/locale/$lng/LC_MESSAGES/$mo" ];then
. "/usr/share/locale/$lng/LC_MESSAGES/$mo"
fi |
_________________ Toutou Linux - Pets francisés
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Fri 27 Feb 2009, 19:01 Post subject:
|
|
ok, we can use the full $LANG, if it is required for different languages.
I did not use it, to save space.
For example:
de_DE
de_CH
This is german and swiss german.
In Scripts, they are usually identical.
So if we check just for "de", just one .mo is needed.
This could be solved however if we would place a symlink to the "de_DE/LC_MESSAGES/example.mo" in "de_CH/LC_MESSAGES/".
This would combine both advantages: seperate language files if required (like for "es_"), and just one with symlinks, if it is the same for all "de".
But one change is needed:
the english file should ALWAYS be loaded.
So do not use "if else".
Reason: translations are often incomplete.
Example:
mywizard 4.0 is written by MU.
droope translates it to spanish.
Then MU enhances the wizard to 5.0. As MU speaks no spanish, new words are available in english only, until droope finds time to update the translation.
With "if else" the 5.0 would not work in spanish, but if english is always loaded, then it would work, just the not yet translated words would be english.
So this would be ok:
| Code: | #-- simple localization for scripts by MU. Essai de JJM
mo=connectwizard.mo
. /usr/share/locale/en/LC_MESSAGES/$mo
if [ -f "/usr/share/locale/$LANG/LC_MESSAGES/$mo" ];then
. /usr/share/locale/$LANG/LC_MESSAGES/$mo
fi |
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|