what happen with script with same name,
ex.
/usr/local/pequalizer/func
and
/usr/local/pfind/func
the .mo file in /usr/share/locale/yourlang/LC_MESSAGES/ will rewrite the .mo
then just one will work
what can i do?
tnx in advance.
about func scipts
- nilsonmorales
- Posts: 972
- Joined: Fri 15 Apr 2011, 14:39
- Location: El Salvador
about func scipts
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
Why should it do that?what happen with script with same name,
ex.
/usr/local/pequalizer/func
and
/usr/local/pfind/func
the .mo file in /usr/share/locale/yourlang/LC_MESSAGES/ will rewrite the .mo
then just one will work
The pequalizer has a pequalizer.mo and pfind should have pfind.mo!
The .mo file is always named after the application, not after its function or sub-scripts!
Got it?
[b][url=http://lazy-puppy.weebly.com]LazY Puppy Home
The new LazY Puppy Information Centre[/url][/b]
The new LazY Puppy Information Centre[/url][/b]
- nilsonmorales
- Posts: 972
- Joined: Fri 15 Apr 2011, 14:39
- Location: El Salvador
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: about func scipts
Let us look what happened:nilsonmorales wrote:what happen with script with same name,
ex.
/usr/local/pequalizer/func
and
/usr/local/pfind/func
the .mo file in /usr/share/locale/yourlang/LC_MESSAGES/ will rewrite the .mo
then just one will work
what can i do?
tnx in advance.
and/usr/local/pequalizer/func wrote:#!/bin/bash
#pEqualizer
export TEXTDOMAIN=pequalizer
It is the TEXTDOMAIN that counts and gives the mo file a name: TEXTDOMAIN.mo./usr/local/pfind/func wrote:#!/bin/bash
PID=$$
export TEXTDOMAIN=pfind
- nilsonmorales
- Posts: 972
- Joined: Fri 15 Apr 2011, 14:39
- Location: El Salvador
Ahhh got it , thank you L18L
R-H-S and L18L congrats, great job in puppylinux
R-H-S and L18L congrats, great job in puppylinux
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]