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
5b328e8f
Kaydet (Commit)
5b328e8f
authored
Kas 17, 2013
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
script that checks for translatable="yes" attributes in .ui files
Change-Id: I3c8ea5e0d8105964f1b0e5c8ace81fa08d8da8d3
üst
aecc0d72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
ui-translatable.sh
bin/ui-translatable.sh
+18
-0
No files found.
bin/ui-translatable.sh
0 → 100755
Dosyayı görüntüle @
5b328e8f
#!/bin/bash
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# This script prints lines from .ui files, where the translatable="yes" attribute
# was not set -- presumably by mistake. It prints a few false positives though.
for
i
in
`
git ls-files
*
.ui
`
;
do
for
j
in
"label"
"title"
"text"
"format"
"copyright"
"comments"
"preview_text"
"tooltip"
"message"
;
do
grep
-s
"
\<
property name
\=\"
$j
\"
"
$i
|
grep
-v
"translatable
\=\"
yes"
|
grep
-v
gtk
\-
|
grep
">.*[A-Za-z].*<"
;
if
[
"
$?
"
-eq
0
]
;
then
echo
"Source:
$i
^"
;
fi
done
done
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