Lint typography

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

@ -71,14 +71,15 @@ 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))
head, *tail = doc.to_s.split("\n").reject { |x| x.strip.eql? "" }
prolog, root, *tail = doc.to_s.split("\n").reject { |x| x.strip.eql? "" }
File.open(path, 'w') do |f|
f.puts head
f.puts prolog
f.puts "<!-- ************************************************************** -->"
f.puts "<!-- ********* THIS FILE IS GENERATED BY GETLOCALIZATION ********** -->"
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.print tail.join("\n")
end
end

@ -19,4 +19,8 @@ public class GtasksListService {
public GtasksList getList(long storeId) {
return null;
}
public List<GtasksList> getSortedGtasksList() {
return Collections.emptyList();
}
}

@ -19,4 +19,8 @@ public class GtasksListService {
public GtasksList getList(long storeId) {
return null;
}
public List<GtasksList> getSortedGtasksList() {
return Collections.emptyList();
}
}

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

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

@ -4,7 +4,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<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,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<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,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<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,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<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>
@ -152,6 +152,7 @@
<string name="next_month">Nächster Monat</string>
<string name="CFC_importance_text">Mindestpriorität ?</string>
<string name="CFC_importance_name">Priorität...</string>
<string name="CFC_tag_name">Tag...</string>
<string name="CFC_tag_contains_name">Tag-Name enthält...</string>
<string name="CFC_tag_contains_text">Tag-Name enthält: ?</string>
<string name="CFC_title_contains_name">Titel enthält …</string>

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

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

@ -4,7 +4,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<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,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<string name="actfm_picture_clear">Supprimer l\'image</string>
<string name="TVA_add_comment">Ajouter un commentaire</string>
<string name="name">Nom</string>
@ -152,6 +152,7 @@
<string name="next_month">Mois suivant</string>
<string name="CFC_importance_text">Priorité au dernier ?</string>
<string name="CFC_importance_name">Priorité...</string>
<string name="CFC_tag_name">Tag...</string>
<string name="CFC_tag_contains_name">Le nom du tag contient ...</string>
<string name="CFC_tag_contains_text">Le nom du tag contient: ?</string>
<string name="CFC_title_contains_name">Titre contient...</string>

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

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

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

@ -4,7 +4,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<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,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<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,7 @@
<!-- ******** http://www.getlocalization.com/tasks_android ******** -->
<!-- ******************* DO NOT MODIFY MANUALLY ******************* -->
<!-- ************************************************************** -->
<resources>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="TypographyEllipsis,TypographyDashes">
<string name="actfm_picture_clear">Usuń obrazek</string>
<string name="TVA_add_comment">Dodaj komentarz...</string>
<string name="name">Nazwa</string>
@ -152,6 +152,7 @@
<string name="next_month">Przyszły miesiąc</string>
<string name="CFC_importance_text">Priorytet przynajmniej?</string>
<string name="CFC_importance_name">Priorytet...</string>
<string name="CFC_tag_name">Tag...</string>
<string name="CFC_tag_contains_name">Nazwa taga zawiera...</string>
<string name="CFC_tag_contains_text">Nazwa taga zawiera: ?</string>
<string name="CFC_title_contains_name">Tytuł zawiera...</string>

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

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

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

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

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

@ -9,7 +9,7 @@
<!-- ================================================== TagViewActivity == -->
<!-- Tag View Activity: Add Comment hint -->
<string name="TVA_add_comment">Add a comment...</string>
<string name="TVA_add_comment">Add a comment</string>
<string name="name">Name</string>
@ -52,7 +52,7 @@ File %1$s contained %2$s.\n\n
</string>
<!-- Progress Dialog text for import reading task (%d -> task number)-->
<string name="import_progress_read">Reading task %d...</string>
<string name="import_progress_read">Reading task %d</string>
<!-- Backup: Dialog when unable to open a file -->
@ -217,7 +217,7 @@ File %1$s contained %2$s.\n\n
<string name="TEA_control_hidden_section">----Hide Always----</string>
<!-- Text to load more activity -->
<string name="TEA_load_more">Load more...</string>
<string name="TEA_load_more">Load more</string>
<!-- ===================================================== MissedCallActivity == -->
@ -407,7 +407,7 @@ File %1$s contained %2$s.\n\n
<!-- Criteria: due by X - display text (? -> user input) -->
<string name="CFC_dueBefore_text">Due By: ?</string>
<!-- Criteria: due by X - name of criteria -->
<string name="CFC_dueBefore_name">Due By...</string>
<string name="CFC_dueBefore_name">Due By</string>
<string name="no_due_date">No Due Date</string>
<string name="next_month">Next Month</string>
@ -415,20 +415,20 @@ File %1$s contained %2$s.\n\n
<!-- Criteria: importance - display text (? -> user input)-->
<string name="CFC_importance_text">Priority at least ?</string>
<!-- Criteria: importance - name of criteria -->
<string name="CFC_importance_name">Priority...</string>
<string name="CFC_importance_name">Priority</string>
<!-- Criteria: tag - display text (? -> user input) -->
<string name="CFC_tag_text">Tag: ?</string>
<!-- Criteria: tag - name of criteria -->
<string name="CFC_tag_name">Tag...</string>
<string name="CFC_tag_name">Tag</string>
<!-- Criteria: tag_contains - name of criteria -->
<string name="CFC_tag_contains_name">Tag name contains...</string>
<string name="CFC_tag_contains_name">Tag name contains</string>
<!-- Criteria: tag_contains - text (? -> user input) -->
<string name="CFC_tag_contains_text">Tag name contains: ?</string>
<!-- Criteria: title_contains - name of criteria -->
<string name="CFC_title_contains_name">Title contains...</string>
<string name="CFC_title_contains_name">Title contains</string>
<!-- Criteria: title_contains - text (? -> user input) -->
<string name="CFC_title_contains_text">Title contains: ?</string>
@ -463,7 +463,7 @@ File %1$s contained %2$s.\n\n
<string name="CFC_gtasks_list_text">In List: ?</string>
<string name="CFC_gtasks_list_name">In GTasks List...</string>
<string name="CFC_gtasks_list_name">In GTasks List</string>
<!-- Label for clear completed menu item -->
<string name="gtasks_GTA_clear_completed">Clear Completed</string>
@ -481,7 +481,7 @@ File %1$s contained %2$s.\n\n
<!-- Password Label -->
<!-- Authenticating toast -->
<string name="gtasks_GLA_authenticating">Authenticating...</string>
<string name="gtasks_GLA_authenticating">Authenticating</string>
<!-- Google Apps for Domain checkbox -->
@ -498,7 +498,7 @@ File %1$s contained %2$s.\n\n
<!-- ================================================ Synchronization == -->
<!-- Error for account not found -->
<string name="gtasks_error_accountNotFound">Account %s not found--please log out and log back in from the Google Tasks settings.</string>
<string name="gtasks_error_accountNotFound">Account %s not foundplease log out and log back in from the Google Tasks settings.</string>
<string name="premium_record_audio">Record a note</string>
@ -679,7 +679,7 @@ File %1$s contained %2$s.\n\n
<!-- ================================================== Generic Dialogs == -->
<!-- Progress dialog shown when doing something slow -->
<string name="DLG_wait">Please wait...</string>
<string name="DLG_wait">Please wait</string>
<!-- ================================================== SyncPreferences == -->

Loading…
Cancel
Save