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
411c04c4
Kaydet (Commit)
411c04c4
authored
Eki 11, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
repurpose count dialogs
Change-Id: Id19d514f7ccbc69bf5ad0ca63181e2815f067178
üst
5ab5779b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
41 deletions
+11
-41
count-src-resources
bin/count-src-resources
+11
-0
count-todo-dialogs
bin/count-todo-dialogs
+0
-41
No files found.
bin/count-src-resources
0 → 100755
Dosyayı görüntüle @
411c04c4
#!/bin/sh
#
# 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/.
#
# Run this from the source root dir to count the number of remaining .src resources
git ls-files
*
.src | xargs
grep
-ohE
'^[a-zA-Z]+[ ]+[a-zA-Z_0-9]+'
|
cut
-f
1
-d
' '
|
sort
|
uniq
-c
|
sort
-n
bin/count-todo-dialogs
deleted
100755 → 0
Dosyayı görüntüle @
5ab5779b
#!/bin/sh
#
# 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/.
#
# Run this from the source root dir to count:
# a) the number of .ui files
# b) the estimated amount of additional .ui files required
converted
=
`
ls
*
/uiconfig/ui/
*
.ui
*
/uiconfig/
*
/ui/
*
.ui|wc
-l
`
echo
$converted
.ui files currently exist
dialogs
=
0
tabpages
=
0
errorboxes
=
0
infoboxes
=
0
queryboxes
=
0
warningboxes
=
0
msgboxes
=
0
floatingwindows
=
0
dockingwindows
=
`
git
grep
-h
DockingWindow
--
*
.src|grep
-v
HelpID|grep
-v
hrc|cut
-d
' '
-f2-
|sort|uniq|wc
-l
`
echo
There are
$dialogs
unconverted dialogs
echo
There are
$tabpages
unconverted tabpages
echo
There are
$errorboxes
unconverted errorboxes
echo
There are
$infoboxes
unconverted infoboxes
echo
There are
$queryboxes
unconverted queryboxes
echo
There are
$warningboxes
unconverted warningboxes
echo
There are
$msgboxes
unconverted msgboxes
echo
There are
$floatingwindows
unconverted floatingwindows
echo
There are
$dockingwindows
unconverted dockingwindows
num
=
$dockingwindows
echo
An estimated additional
$num
.ui are required
percent
=
$((
$converted
*
100
/
(
$num
+
$converted
))
)
echo
We are
$percent
% of the way through the .ui conversion.
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