![Very Happy :D](./images/smilies/icon_biggrin.gif)
mike
Wow. Great! Many thanks! You have a falcon's eye!mikeb wrote:Ok odd build system...even thats a rox like bunny...
stopped at
checking that shared-mime-info (version >= 0.14) is installed... no
configure: error: Package is not installed
but sources told me what I needed to know...
Ok the line is in filer.c
comment = get_value_from_desktop_file(full_path,
"Desktop Entry", "Comment", &error);
The called function does as it says.....
Basically it looks for the pattern 'Comment' to get the tooltip... no LANG anywhere near that section ......
It does not seem too hard to add it ie the pattern modified by the LANG value.
If other language support is there in general so the resultant tooltips will show I see little problem adding this... though I am not a great C coder others may breeze through it.
mike
actually it took a few seconds using searchmonkey...wonder why I recommend that tool??!!Wow. Great! Many thanks! You have a falcon's eye!
Tested.mikeb wrote:Ok one to test.
Works here to show comment according to LANG and use the fallback plain Comment if nothing found.
Me too.drop-in replacement fails here. No
difference. EN comments only, same as before.
Confirmed!With Comment[fr_FR] it is ok.
With Comment[fr] it is not ok (comment is in english).
Hi, mikeb.mikeb wrote:Did you replace the existing rox-filer in /usr/local/apps/ROX-filer .
If its truly stopped including pinboard and LANG is set which it sounds like then hmmmm
well the previous post about extra fallbacks may apply. IE your specific LANG variable may not be in there ... utf8 should be ok but fr_FR will not find fr as it stands... editing a desktop file would be the test...echo $LANG and ensure there is an entry to match.
Every desktop file seems to have a different set of languages or none.
I used rox's own extraction and handling of LANG
I can fix but in any other language its a 20 second job but in the obtuse bitch known as c it will be half an hour for multiple rebuilds and tests.
mike
Code: Select all
export LANG="fr_CA.utf8"
export LANGUAGE="fr_CA.utf8"
export LC_CTYPE="fr_CA.utf8"
export LC_NUMERIC="fr_CA.utf8"
export LC_TIME="fr_CA.utf8"
export LC_DATE="fr_CA.utf8"
export LC_MONETARY="fr_CA.utf8"
export LC_MESSAGES="fr_CA.utf8"
export LC_PAPER="fr_CA.utf8"
export LC_NAME="fr_CA.utf8"
export LC_ADDRESS="fr_CA.utf8"
export LC_TELEPHONE="fr_CA.utf8"
export LC_MEASUREMENT="fr_CA.utf8"
export LC_IDENTIFICATION="fr_CA.utf8"
export LC_ALL=""
Thank you in advance.mikeb wrote:Ok so general consensus is the need to handle fr and fr_FR variation of LANG variables... ok will add that and post the result later.... not in Lucid at the moment and REALLY hungry...
Code: Select all
cd /usr/share/applications
for i in `ls -1 *.desktop`
do replaceit --input=$i "Comment[fr]" "Comment[fr_CA]"
done
ASRI éducation wrote:No actual emergency, you have time to eat.
Stop babbling! Go! Your hamburg steak will get cold!!!mikeb wrote:fichiers Desktop sont très exigeantes
don't blame me though my translation was worse...
I don't want to pass out while compiling.... please don't hold any breath during this food related pause
Actually i will slip a note into the version output to distinguish the build.
mike