summaryrefslogtreecommitdiffstats
path: root/i18npool/source/isolang
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-11-13 13:33:28 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-11-13 13:33:28 +0000
commit52eb4aa94e5ecdc24e68eec57de94f5ec98353b9 (patch)
tree68cacad89ae3c9d071bca681cd740c353281d569 /i18npool/source/isolang
parentINTEGRATION: CWS locales24 (1.12.36); FILE MERGED (diff)
downloadcore-52eb4aa94e5ecdc24e68eec57de94f5ec98353b9.tar.gz
core-52eb4aa94e5ecdc24e68eec57de94f5ec98353b9.zip
INTEGRATION: CWS locales24 (1.2.38); FILE MERGED
2007/10/26 17:59:44 er 1.2.38.1: prepare move to svtools/source/misc/langtab.src with cws langstatusbar
Diffstat (limited to 'i18npool/source/isolang')
-rwxr-xr-xi18npool/source/isolang/langid.pl15
1 files changed, 11 insertions, 4 deletions
diff --git a/i18npool/source/isolang/langid.pl b/i18npool/source/isolang/langid.pl
index db36ccdb6b7d..31ab03dc48fe 100755
--- a/i18npool/source/isolang/langid.pl
+++ b/i18npool/source/isolang/langid.pl
@@ -7,9 +7,9 @@ if 0;
#
# $RCSfile: langid.pl,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: rt $ $Date: 2007-07-03 14:04:31 $
+# last change: $Author: rt $ $Date: 2007-11-13 14:33:28 $
#
# The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1.
@@ -353,16 +353,23 @@ sub main()
'^\s*case\s*.*' . $grepdef . '.*\s*:', $modifier,
"$SRC_ROOT", "i18npool", "source/isolang/mslangid.cxx");
+ # With CWS 'langstatusbar' the language listbox resource file gets a new location.
+ my $module = "svx";
+ my $name = "source/dialog/langtab.src";
+ if (!(-e "$SRC_ROOT/$module/$name")) {
+ $module = "svtools";
+ $name = "source/misc/langtab.src";
+ }
# < "Afrikaans" ; LANGUAGE_AFRIKAANS ; > ;
# lookup define
@resultlist = grepFile(
'^\s*<\s*\".*\"\s*;\s*.*' . $grepdef . '.*\s*;\s*>\s*;', $modifier,
- "$SRC_ROOT", "svx", "source/dialog/langtab.src");
+ "$SRC_ROOT", $module, $name);
# lookup string
if (!@resultlist) {
grepFile(
'^\s*<\s*\".*' . $grepdef . '.*\"\s*;\s*.*\s*;\s*>\s*;', $modifier,
- "$SRC_ROOT", "svx", "source/dialog/langtab.src"); }
+ "$SRC_ROOT", $module, $name); }
for $lcid (@lcidlist)
{