diff --git a/elements/bornes/borne_continuite.elmt b/elements/bornes/borne_continuite.elmt
index 090360619..25fa34846 100644
--- a/elements/bornes/borne_continuite.elmt
+++ b/elements/bornes/borne_continuite.elmt
@@ -7,7 +7,7 @@
Punto de combinación
Spojovací svorka
Terminal de combinação
- Zacisk
+ Zacisk
Terminale di unione
Author: The QElectroTech team
diff --git a/elements/variateurs_de_frequence/siemens/qet_directory b/elements/variateurs_de_frequence/siemens/qet_directory
index bc62fd347..267b3f981 100644
--- a/elements/variateurs_de_frequence/siemens/qet_directory
+++ b/elements/variateurs_de_frequence/siemens/qet_directory
@@ -1,8 +1,8 @@
- Siemens
+ Siemens
Siemens
Siemens
-
+ Siemens
diff --git a/misc/translations_stat.pl b/misc/translations_stat.pl
index c720dcd0f..b5df6b116 100755
--- a/misc/translations_stat.pl
+++ b/misc/translations_stat.pl
@@ -130,6 +130,7 @@ sub get_pattern_count_in_file {
sub analyze_element_file {
return if (($File::Find::name =~ m/\.svn/) || (! -f $_));
+ return if ($_ !~ m/(^qet_directory|\.elmt)$/);
# One more element, count it
our $elements_count;
@@ -139,7 +140,7 @@ sub analyze_element_file {
my $file = $_;
our %languages;
for my $lang_key (our @ordered_languages) {
- if (get_pattern_count_in_file('file' => $file, 'pattern' => sprintf('', $lang_key, 'limit' => 1)) == 1) {
+ if (get_pattern_count_in_file('file' => $file, 'pattern' => sprintf('', $lang_key, 'limit' => 1)) == 1) {
++ $languages{$lang_key}{'translated_elements_count'};
}
}