Alternate suppression syntax

pull/437/head
Alex Baker 8 years ago
parent 1ca3e0dfba
commit 7b7531f9fe

@ -71,7 +71,7 @@ def clean(path)
remove_items(doc, 'string', find_duplicate_strings(doc))
remove_items(doc, 'string-array', find_duplicate_string_arrays(doc))
remove_items(doc, 'plurals', find_duplicate_plurals(doc))
prolog, root, *tail = doc.to_s.split("\n").reject { |x| x.strip.eql? "" }
prolog, *tail = doc.to_s.split("\n").reject { |x| x.strip.eql? "" }
File.open(path, 'w') do |f|
f.puts prolog
f.puts "<!-- ************************************************************** -->"
@ -79,7 +79,7 @@ def clean(path)
f.puts "<!-- ******** http://www.getlocalization.com/tasks_android ******** -->"
f.puts "<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->"
f.puts "<!-- ************************************************************** -->"
f.puts '<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">'
f.puts "<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->"
f.print tail.join("\n")
end
end

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">مسح الصورة</string>
<string name="TVA_add_comment">إضافة تعليق ...</string>
<string name="backup_BPr_header">النسخ الإحتياطي</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Изчисти Картинка</string>
<string name="TVA_add_comment">Добави коментар...</string>
<string name="name">Име</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Neteja la selecció d\'imatge</string>
<string name="TVA_add_comment">Afegiu un comentari...</string>
<string name="backup_BPr_header">Còpies de seguretat</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Odebrat obrázek</string>
<string name="TVA_add_comment">Přidej comment...</string>
<string name="backup_BPr_header">Zálohy</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Ryd markering</string>
<string name="TVA_add_comment">Tilføj en kommentar</string>
<string name="backup_BPr_header">Backup</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Bild entfernen</string>
<string name="TVA_add_comment">Kommentar hinzufügen …</string>
<string name="enter_tag_name">Schlagwort eingeben</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Καθαρή εικόνα</string>
<string name="TVA_add_comment">Προσθήκη σχόλιου...</string>
<string name="backup_BPr_header">Αντίγραφα ασφαλείας</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Borrar imagen</string>
<string name="TVA_add_comment">Añadir un comentario...</string>
<string name="name">Nombre</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">پاک کردن عکس</string>
<string name="TVA_add_comment">اضافه کردن نظر</string>
<string name="name">نام</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="SSD_sort_drag">Manuaalinen järjestys osatehtäviin</string>
<string name="SSD_sort_auto">Älykäs sorttaus</string>
<string name="SSD_sort_alpha">Otsikoittain</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Supprimer l\'image</string>
<string name="TVA_add_comment">Ajouter un commentaire</string>
<string name="name">Nom</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="TVA_add_comment">Hozzászólás írása...</string>
<string name="DLG_undo">Visszavonás</string>
<string name="WID_dateButtonUnset">Érintsd meg a beállításhoz</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Deseleziona Immagine</string>
<string name="TVA_add_comment">Aggiungi un commento...</string>
<string name="name">Nome</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">הסר תמונה</string>
<string name="TVA_add_comment">הוסף הערה</string>
<string name="name">שם</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">写真を削除</string>
<string name="TVA_add_comment">コメントする</string>
<string name="name">名前</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">사진 제거하기</string>
<string name="TVA_add_comment">댓글 쓰기...</string>
<string name="name">이름</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="backup_BPr_header">Sikkerhetskopier</string>
<string name="backup_BAc_import">Importer oppgaver</string>
<string name="backup_BAc_export">Eksporter oppgaver</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Verwijder Foto</string>
<string name="TVA_add_comment">Voeg een opmerking toe</string>
<string name="name">Naam</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Usuń obrazek</string>
<string name="TVA_add_comment">Dodaj komentarz...</string>
<string name="name">Nazwa</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Limpar imagem</string>
<string name="TVA_add_comment">Comentar...</string>
<string name="backup_BAc_import">Importar tarefas</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Limpar imagem</string>
<string name="TVA_add_comment">Adicionar um comentário...</string>
<string name="name">Nome</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Убрать изображение</string>
<string name="TVA_add_comment">Добавить комментарий...</string>
<string name="name">Тег:</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Vymazať obrázok</string>
<string name="TVA_add_comment">Komentovať...</string>
<string name="name">Názov</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Zbriši fotografijo</string>
<string name="TVA_add_comment">Dodaj komentar...</string>
<string name="backup_BPr_header">Varnostne kopije</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Rensa bild</string>
<string name="TVA_add_comment">Lägg till en kommentar...</string>
<string name="name">Namn</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">ล้างภาพ</string>
<string name="backup_BPr_header">สำรองข้อมูล</string>
<string name="import_progress_read">กำลังอ่านแผนงาน %d...</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Resmi sil</string>
<string name="TVA_add_comment">Yorum Gir</string>
<string name="backup_BPr_header">Yedekler</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">Очистити картинку</string>
<string name="TVA_add_comment">Додати коментар...</string>
<string name="name">Ім\'я</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">取消选择</string>
<string name="TVA_add_comment">添加注释...</string>
<string name="backup_BPr_header">备份</string>

@ -4,7 +4,8 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<!--suppress AndroidLintTypographyEllipsis,AndroidLintTypographyDashes-->
<resources>
<string name="actfm_picture_clear">清除圖片</string>
<string name="TVA_add_comment">添加評論</string>
<string name="backup_BPr_header">備份</string>

Loading…
Cancel
Save