Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
fff0597f
Kaydet (Commit)
fff0597f
authored
Mar 02, 2012
tarafından
Andre Fischer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Made localize.pl work again with current directory layout.
üst
32ab7bab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
18 deletions
+3
-18
localize.pl
l10ntools/scripts/localize.pl
+3
-18
No files found.
l10ntools/scripts/localize.pl
Dosyayı görüntüle @
fff0597f
...
@@ -280,14 +280,14 @@ sub get_license_header{
...
@@ -280,14 +280,14 @@ sub get_license_header{
"# distributed with this work for additional information\n"
.
"# distributed with this work for additional information\n"
.
"# regarding copyright ownership. The ASF licenses this file\n"
.
"# regarding copyright ownership. The ASF licenses this file\n"
.
"# to you under the Apache License, Version 2.0 (the\n"
.
"# to you under the Apache License, Version 2.0 (the\n"
.
"#
"
License
"); you may not use this file except in compliance\n"
.
"#
\"License\
"); you may not use this file except in compliance\n"
.
"# with the License. You may obtain a copy of the License at\n"
.
"# with the License. You may obtain a copy of the License at\n"
.
"# \n"
.
"# \n"
.
"# http://www.apache.org/licenses/LICENSE-2.0\n"
.
"# http://www.apache.org/licenses/LICENSE-2.0\n"
.
"# \n"
.
"# \n"
.
"# Unless required by applicable law or agreed to in writing,\n"
.
"# Unless required by applicable law or agreed to in writing,\n"
.
"# software distributed under the License is distributed on an\n"
.
"# software distributed under the License is distributed on an\n"
.
"#
"
AS
IS
" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n"
.
"#
\"AS IS\
" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n"
.
"# KIND, either express or implied. See the License for the\n"
.
"# KIND, either express or implied. See the License for the\n"
.
"# specific language governing permissions and limitations\n"
.
"# specific language governing permissions and limitations\n"
.
"# under the License.\n"
.
"# under the License.\n"
.
...
@@ -336,8 +336,7 @@ sub add_paths
...
@@ -336,8 +336,7 @@ sub add_paths
{
{
my
$langhash_ref
=
shift
;
my
$langhash_ref
=
shift
;
my
$root_dir
=
$ENV
{
SRC_ROOT
};
my
$root_dir
=
$ENV
{
SRC_ROOT
};
my
$ooo_l10n_dir
=
"$root_dir/l10n/source"
;
my
$ooo_l10n_dir
=
"$root_dir/../extras/l10n/source"
;
my
$so_l10n_dir
=
"$root_dir/l10n_so/source"
;
if
(
-
e
$ooo_l10n_dir
)
if
(
-
e
$ooo_l10n_dir
)
{
{
...
@@ -352,20 +351,6 @@ sub add_paths
...
@@ -352,20 +351,6 @@ sub add_paths
}
}
}
}
else
{
die
"ERROR: Can not find directory $ooo_l10n_dir!!!"
}
else
{
die
"ERROR: Can not find directory $ooo_l10n_dir!!!"
}
if
(
-
e
$so_l10n_dir
)
{
foreach
my
$lang
(
keys
(
%
{
$langhash_ref
}
)
)
{
my
$loc_file
=
"$so_l10n_dir/$lang/localize.sdf"
;
if
(
-
e
$loc_file
)
{
push
@sdfparticles
,
"$ooo_l10n_dir/$lang/localize.sdf"
;
}
else
{
#print "WARNING: $loc_file not found ....\n";
}
}
}
}
}
sub
collectfiles
{
sub
collectfiles
{
print
STDOUT
"### Localize\n"
;
print
STDOUT
"### Localize\n"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment