2009/6/2 Christian Knoke <[email protected]>: > Marko Lindqvist wrote on Jun 02, 00:51 (+0300): >> >> While making svn diff I noticed this: >> msgid "FREECIV_PATH is set but empty; using default path instead." >> msgstr "" >> "FREECIV_PATH er sat til at være tom, benytter standardsti (PATH) i stedet." >> >> I don't claim to understand danish, but that "(PATH)" seems >> suspicious. You know that FREECIV_PATH tells where to look for freeciv >> datafiles and it has nothing to do with environment variable PATH that >> determines where shell looks for executable programs? Default freeciv >> data path is hardcoded inside freeciv binary and is something like >> ".:data:$HOME/.freeciv/:/usr/share/freeciv"
I checked this from the source and there actually is no /usr/share/freeciv part in it: ".:data:$HOME/.freeciv" > What does the code do? Does it set FREECIV_PATH to the value above, if > FREECIV_PATH is not set, and doesn't touch it, if it is set but empty? If FREECIV_PATH is not set or it is set to empty value, above value is used instead of FREECIV_PATH. It's not an error if FREECIV_PATH is not set, but it is an error if it's set to empty value. Above string is just that error message. In TRUNK word "path" is replaced with a string containing the hardcoded value. - ML _______________________________________________ Freeciv-i18n mailing list [email protected] https://mail.gna.org/listinfo/freeciv-i18n
