Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 22:41
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Urgent: Language Packages needs to be refined/reverted
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
LazY Puppy


Joined: 21 Nov 2014
Posts: 52
Location: Germany

PostPosted: Wed 26 Nov 2014, 03:12    Post subject:  Urgent: Language Packages needs to be refined/reverted
Subject description: Some Translations are destroying useful Functions
 

Hi, Language Package Builders.

Please do check your work since some translations are destroying useful functions.

Example:
Code:
FPATH="/usr/sbin/lazy_sfs_load"
TEST=`stat -c %F "$FPATH"`
if [ "$TEST" = "symbolic link" ]; then
   FPATH=`stat -c %N "$FPATH" | cut -f3 -d '\`'`
   FPATH=${FPATH%?}
fi

If $TEST is returned as 'symbolic link' $FPATH contains its target in the end.

After installing a Language Package $TEST doesn't return as 'symbolic link' anymore. Instead it returns translated - e.g. for DE: it returns as 'symbolischer Link' or 'Symbolischer Link'.

Code TEST=`stat -c %F "$FPATH"` is not usable anymore after this, except one would check for all possible translations - which would be a ugly pain.

There was a second issue related to that, which I can't found at the moment, but will post as soon as I'm stumbling over it.

RSH
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

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
[ Time: 0.0371s ][ Queries: 11 (0.0035s) ][ GZIP on ]