]> git.lyx.org Git - features.git/commitdiff
Remove unneeded layout translations as hinted on the users list.
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 6 Apr 2011 20:57:46 +0000 (20:57 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 6 Apr 2011 20:57:46 +0000 (20:57 +0000)
The standard babel names are used instead of these translations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38296 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouttranslations
po/lyx_pot.py

index 2267b1c44426592d6c254d3060f0f835b93b0b95..a885af09c48b63fdfdd2c85bbb1bbd78d60eba73 100644 (file)
@@ -23,22 +23,15 @@ Translation ar
        "Example" "مثال"
        "Exercise" "تمرين"
        "Fact" "حقيقة"
-       "Figure" "صورة توضيحية"
        "Graph" "رسم بياني"
        "Lemma" "Lemma"
        "List of Algorithms" "قائمة الخوارزميات"
        "List of Charts" "قائمة الجداول البيانية"
-       "List of Figures" "قائمة الرسوم التوضيحية"
        "List of Graphs" "قائمة الرسوم البيانية"
        "List of Schemes" "قائمة التصميمات"
        "List of Tableaux" "قائمة الجداول"
-       "List of Tables" "قائمة الجداول"
-       "MarginFigure" "صورة هامشية"
-       "MarginTable" "جدول هامشي"
        "Notation" "تدوين"
        "Note" "ملاحظة"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "مشكلة"
        "Proof" "برهان"
        "Proposition" "Proposition"
@@ -46,7 +39,6 @@ Translation ar
        "Remark" "ملاحظة"
        "Scheme" "مخطط"
        "Summary" "موجز"
-       "Table" "جدول"
        "Tableau" "جدول"
        "Theorem" "نظرية"
 End
@@ -68,22 +60,15 @@ Translation bg
        "Example" "Пример"
        "Exercise" "Упражнение"
        "Fact" "Факт"
-       "Figure" "Figure"
        "Graph" "Graph"
        "Lemma" "Лема"
        "List of Algorithms" "List of Algorithms"
        "List of Charts" "List of Charts"
-       "List of Figures" "List of Figures"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "List of Tables"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notation"
        "Note" "Бележка"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Проблем"
        "Proof" "Доказателство"
        "Proposition" "Допускане"
@@ -91,7 +76,6 @@ Translation bg
        "Remark" "Remark"
        "Scheme" "Scheme"
        "Summary" "Обобщение"
-       "Table" "Table"
        "Tableau" "Tableau"
        "Theorem" "Теорема"
 End
@@ -113,22 +97,15 @@ Translation ca
        "Example" "Exemple"
        "Exercise" "Exercici"
        "Fact" "Fet"
-       "Figure" "Figura"
        "Graph" "Graph"
        "Lemma" "Lema"
        "List of Algorithms" "Llista d'algorismes"
        "List of Charts" "List of Charts"
-       "List of Figures" "Llista de figures"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "Llista de taules"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notació"
        "Note" "Nota"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problema"
        "Proof" "Demostració"
        "Proposition" "Proposició"
@@ -136,7 +113,6 @@ Translation ca
        "Remark" "Comentari"
        "Scheme" "Scheme"
        "Summary" "Resum"
-       "Table" "Taula"
        "Tableau" "Tableau"
        "Theorem" "Teorema"
 End
@@ -158,22 +134,15 @@ Translation cs
        "Example" "Příklad"
        "Exercise" "Cvičení"
        "Fact" "Fakt"
-       "Figure" "Obrázek"
        "Graph" "Graf"
        "Lemma" "Lemma"
        "List of Algorithms" "Seznam algoritmů"
        "List of Charts" "Seznam diagramů"
-       "List of Figures" "Seznam obrázků"
        "List of Graphs" "Seznam grafů"
        "List of Schemes" "Seznam schémat"
        "List of Tableaux" "Seznam tabel"
-       "List of Tables" "Seznam tabulek"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Značení"
        "Note" "Poznámka"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Úloha"
        "Proof" "Důkaz"
        "Proposition" "Tvrzení"
@@ -181,7 +150,6 @@ Translation cs
        "Remark" "Poznámka"
        "Scheme" "Schéma"
        "Summary" "Souhrn"
-       "Table" "Tabulka"
        "Tableau" "Tablo"
        "Theorem" "Věta"
 End
@@ -203,22 +171,15 @@ Translation da
        "Example" "Eksempel"
        "Exercise" "Øvelse"
        "Fact" "Fakta"
-       "Figure" "Figur"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "List of Algorithms"
        "List of Charts" "List of Charts"
-       "List of Figures" "List of Figures"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "List of Tables"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notation"
        "Note" "Notat"
-       "Planotable" "PlanoTabel"
-       "Plate" "Plade"
        "Problem" "Problem"
        "Proof" "Korrektur"
        "Proposition" "Forslag"
@@ -226,7 +187,6 @@ Translation da
        "Remark" "Bemærkning"
        "Scheme" "Scheme"
        "Summary" "Sammenfatning"
-       "Table" "Tabel"
        "Tableau" "Tableau"
        "Theorem" "Teorem"
 End
@@ -248,22 +208,15 @@ Translation de
        "Example" "Beispiel"
        "Exercise" "Aufgabe"
        "Fact" "Fakt"
-       "Figure" "Abbildung"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "Algorithmenverzeichnis"
        "List of Charts" "Liste der Zeichnungen"
-       "List of Figures" "Abbildungsverzeichnis"
        "List of Graphs" "Liste der Graphen"
        "List of Schemes" "Liste der Schemata"
        "List of Tableaux" "Tableaux-Verzeichnis"
-       "List of Tables" "Tabellenverzeichnis"
-       "MarginFigure" "Randabbildung"
-       "MarginTable" "Randtabelle"
        "Notation" "Notation"
        "Note" "Notiz"
-       "Planotable" "Plano-Tabelle"
-       "Plate" "Bildtafel"
        "Problem" "Problem"
        "Proof" "Beweis"
        "Proposition" "Satz"
@@ -271,7 +224,6 @@ Translation de
        "Remark" "Bemerkung"
        "Scheme" "Schema"
        "Summary" "Zusammenfassung"
-       "Table" "Tabelle"
        "Tableau" "Tableau"
        "Theorem" "Theorem"
 End
@@ -297,22 +249,15 @@ Translation el
        "Example" "Παράδειγμα"
        "Exercise" "Άσκηση"
        "Fact" "Δεδομένο"
-       "Figure" "Εικόνα"
        "Graph" "Γράφημα"
        "Lemma" "Λήμμα"
        "List of Algorithms" "Λίστα Αλγορίθμων"
        "List of Charts" "Λίστα Γραφικών Παραστάσεων"
-       "List of Figures" "Λίστα Εικόνων"
        "List of Graphs" "Λίστα Γραφημάτων"
        "List of Schemes" "Λίστα Σχεδίων"
        "List of Tableaux" "Λίστα Ταμπλό"
-       "List of Tables" "Λίστα Πινάκων"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Σημειογραφία"
        "Note" "Σημείωση"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Πρόβλημα"
        "Proof" "Απόδειξη"
        "Proposition" "Πρόταση"
@@ -320,7 +265,6 @@ Translation el
        "Remark" "Παρατήρηση"
        "Scheme" "Σχέδιο"
        "Summary" "Σύνοψη"
-       "Table" "Πίνακας"
        "Tableau" "Ταμπλό"
        "Theorem" "Θεώρημα"
 End
@@ -342,22 +286,15 @@ Translation en
        "Example" "Example"
        "Exercise" "Exercise"
        "Fact" "Fact"
-       "Figure" "Figure"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "List of Algorithms"
        "List of Charts" "List of Charts"
-       "List of Figures" "List of Figures"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "List of Tables"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notation"
        "Note" "Note"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "Proof"
        "Proposition" "Proposition"
@@ -365,7 +302,6 @@ Translation en
        "Remark" "Remark"
        "Scheme" "Scheme"
        "Summary" "Summary"
-       "Table" "Table"
        "Tableau" "Tableau"
        "Theorem" "Theorem"
 End
@@ -387,22 +323,15 @@ Translation es
        "Example" "Ejemplo"
        "Exercise" "Ejercicio"
        "Fact" "Hecho"
-       "Figure" "Figura"
        "Graph" "Gráfico"
        "Lemma" "Lema"
        "List of Algorithms" "Índice de algoritmos"
        "List of Charts" "Lista de diagramas"
-       "List of Figures" "Índice de figuras"
        "List of Graphs" "Lista de gráficos"
        "List of Schemes" "Lista de esquemas"
        "List of Tableaux" "Índice de Tableaux"
-       "List of Tables" "Índice de tablas"
-       "MarginFigure" "Figura al margen"
-       "MarginTable" "Tabla al margen"
        "Notation" "Notación"
        "Note" "Nota"
-       "Planotable" "Planotable"
-       "Plate" "Lámina"
        "Problem" "Problema"
        "Proof" "Demostración"
        "Proposition" "Proposición"
@@ -410,7 +339,6 @@ Translation es
        "Remark" "Observación"
        "Scheme" "Esquema"
        "Summary" "Resumen"
-       "Table" "Tabla"
        "Tableau" "Tableau"
        "Theorem" "Teorema"
 End
@@ -432,22 +360,15 @@ Translation eu
        "Example" "Adibidea"
        "Exercise" "Ariketa"
        "Fact" "Egitatea"
-       "Figure" "Irudia"
        "Graph" "Grafikoa"
        "Lemma" "Lema"
        "List of Algorithms" "Algoritmoen zerrenda"
        "List of Charts" "Diagramen zerrenda"
-       "List of Figures" "Irudien zerrenda"
        "List of Graphs" "Grafikoen zerrenda"
        "List of Schemes" "Eskemen zerrenda"
        "List of Tableaux" "Taulen zerrenda"
-       "List of Tables" "Taulen zerrenda"
-       "MarginFigure" "Albo-irudia"
-       "MarginTable" "Albo-taula"
        "Notation" "Notazioa"
        "Note" "Ohar"
-       "Planotable" "Taula-xafla"
-       "Plate" "Xafla"
        "Problem" "Buruketa"
        "Proof" "Frogapena"
        "Proposition" "Proposizioa"
@@ -455,7 +376,6 @@ Translation eu
        "Remark" "Oharra"
        "Scheme" "Eskema"
        "Summary" "Laburpena"
-       "Table" "Taula"
        "Tableau" "Taula"
        "Theorem" "Teorema"
 End
@@ -477,22 +397,15 @@ Translation fi
        "Example" "Esimerkki"
        "Exercise" "Harjoitus"
        "Fact" "Fakta"
-       "Figure" "Kuva"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "Algoritmien taulukko"
        "List of Charts" "List of Charts"
-       "List of Figures" "Kuvien luettelo"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "Taulukoiden luettelo"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Merkintätapa"
        "Note" "Muistiinpano"
-       "Planotable" "Kokosivutaulukko"
-       "Plate" "Kiiltokuva"
        "Problem" "Ongelma"
        "Proof" "Todistus"
        "Proposition" "Väittämä"
@@ -500,7 +413,6 @@ Translation fi
        "Remark" "Huomautus"
        "Scheme" "Scheme"
        "Summary" "Yhteenveto"
-       "Table" "Taulukko"
        "Tableau" "Tableau"
        "Theorem" "Lause"
 End
@@ -522,22 +434,15 @@ Translation fr
        "Example" "Exemple"
        "Exercise" "Exercice"
        "Fact" "Fait"
-       "Figure" "Figure"
        "Graph" "Graphique"
        "Lemma" "Lemme"
        "List of Algorithms" "Liste des algorithmes"
        "List of Charts" "Liste des diagrammes"
-       "List of Figures" "Liste des figures"
        "List of Graphs" "Liste des graphiques"
        "List of Schemes" "Liste des schémas"
        "List of Tableaux" "Liste des tableaux (TO)"
-       "List of Tables" "Liste des tableaux"
-       "MarginFigure" "Figure en marge"
-       "MarginTable" "Tableau en marge"
        "Notation" "Notation"
        "Note" "Note"
-       "Planotable" "PlancheTableau"
-       "Plate" "Planche"
        "Problem" "Problème"
        "Proof" "Preuve"
        "Proposition" "Proposition"
@@ -545,7 +450,6 @@ Translation fr
        "Remark" "Remarque"
        "Scheme" "Schéma"
        "Summary" "Résumé"
-       "Table" "Tableau"
        "Tableau" "Tableau"
        "Theorem" "Théorème"
 End
@@ -567,22 +471,15 @@ Translation gl
        "Example" "Exemplo"
        "Exercise" "Exercício"
        "Fact" "Facto"
-       "Figure" "Figura"
        "Graph" "Graph"
        "Lemma" "Lema"
        "List of Algorithms" "Lista de algoritmos"
        "List of Charts" "List of Charts"
-       "List of Figures" "Lista de figuras"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "Lista de táboas"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notación"
        "Note" "Nota"
-       "Planotable" "Planotable"
-       "Plate" "Lámina"
        "Problem" "Problema"
        "Proof" "Demostración"
        "Proposition" "Proposición"
@@ -590,7 +487,6 @@ Translation gl
        "Remark" "Observación"
        "Scheme" "Scheme"
        "Summary" "Resumo"
-       "Table" "Táboa"
        "Tableau" "Tableau"
        "Theorem" "Teorema"
 End
@@ -612,22 +508,15 @@ Translation he
        "Example" "דוגמה"
        "Exercise" "תרגיל"
        "Fact" "עובדה"
-       "Figure" "איור"
        "Graph" "Graph"
        "Lemma" "למה"
        "List of Algorithms" "רשימת אלגוריתמים"
        "List of Charts" "List of Charts"
-       "List of Figures" "רשימת איורים"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "רשימת טבלאות"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notation"
        "Note" "הערה"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "בעיה"
        "Proof" "הוכחה"
        "Proposition" "הצעה"
@@ -635,7 +524,6 @@ Translation he
        "Remark" "הערה"
        "Scheme" "Scheme"
        "Summary" "סיכום"
-       "Table" "טבלה"
        "Tableau" "Tableau"
        "Theorem" "משפט"
 End
@@ -657,22 +545,15 @@ Translation hu
        "Example" "Példa"
        "Exercise" "Feladat"
        "Fact" "Tény"
-       "Figure" "Ábra"
        "Graph" "Grafika"
        "Lemma" "Segédtétel"
        "List of Algorithms" "Algoritmusok listája"
        "List of Charts" "Grafikonok listája"
-       "List of Figures" "Ábrák listája"
        "List of Graphs" "Ábrák listája"
        "List of Schemes" "Sémák listája"
        "List of Tableaux" "Csoportképek listája"
-       "List of Tables" "Táblázatok listája"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Jelölés"
        "Note" "Megjegyzés"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Probléma"
        "Proof" "Bizonyítás"
        "Proposition" "Javaslat"
@@ -680,7 +561,6 @@ Translation hu
        "Remark" "Észrevétel"
        "Scheme" "Séma"
        "Summary" "Összegzés"
-       "Table" "Táblázat"
        "Tableau" "Csoportkép"
        "Theorem" "Tétel"
 End
@@ -702,22 +582,15 @@ Translation ia
        "Example" "Exemplo"
        "Exercise" "Exercitio"
        "Fact" "Facto"
-       "Figure" "Figura"
        "Graph" "Graphico"
        "Lemma" "Lemma"
        "List of Algorithms" "Lista del algorithmos"
        "List of Charts" "Lista de diagrammas"
-       "List of Figures" "Lista de figuras"
        "List of Graphs" "Lista de graphicos"
        "List of Schemes" "Lista de schemas"
        "List of Tableaux" "Lista de tableau"
-       "List of Tables" "Lista de tabellas"
-       "MarginFigure" "Figura a margine"
-       "MarginTable" "Tabella a margine"
        "Notation" "Notation"
        "Note" "Nota"
-       "Planotable" "Planotable"
-       "Plate" "Folio"
        "Problem" "Problema"
        "Proof" "Demonstration"
        "Proposition" "Proposition"
@@ -725,7 +598,6 @@ Translation ia
        "Remark" "Observation"
        "Scheme" "Schema"
        "Summary" "Summario"
-       "Table" "Tabella"
        "Tableau" "Tableau"
        "Theorem" "Theorema"
 End
@@ -747,22 +619,15 @@ Translation id
        "Example" "Contoh"
        "Exercise" "Latihan"
        "Fact" "Fakta"
-       "Figure" "Gambar"
        "Graph" "Grafik"
        "Lemma" "Lemma"
        "List of Algorithms" "Daftar Algoritma"
        "List of Charts" "Daftar Diagram"
-       "List of Figures" "Daftar Gambar"
        "List of Graphs" "Daftar Grafik"
        "List of Schemes" "Daftar Skema"
        "List of Tableaux" "Daftar Tableaux"
-       "List of Tables" "Daftar Tabel"
-       "MarginFigure" "GambarTepi"
-       "MarginTable" "TabelTepi"
        "Notation" "Notasi"
        "Note" "Nota"
-       "Planotable" "Tabel Plano"
-       "Plate" "Pelat"
        "Problem" "Masalah"
        "Proof" "Pruf"
        "Proposition" "Proposisi"
@@ -770,7 +635,6 @@ Translation id
        "Remark" "Catatan"
        "Scheme" "Skema"
        "Summary" "Ringkasan"
-       "Table" "Tabel"
        "Tableau" "Tableau"
        "Theorem" "Teorema"
 End
@@ -792,22 +656,15 @@ Translation it
        "Example" "Esempio"
        "Exercise" "Esercizio"
        "Fact" "Fatto"
-       "Figure" "Figura"
        "Graph" "Grafico"
        "Lemma" "Lemma"
        "List of Algorithms" "Elenco degli algoritmi"
        "List of Charts" "Elenco dei diagrammi"
-       "List of Figures" "Elenco delle figure"
        "List of Graphs" "Elenco dei grafici"
        "List of Schemes" "Elenco degli schemi"
        "List of Tableaux" "Elenco dei tableau"
-       "List of Tables" "Elenco delle tabelle"
-       "MarginFigure" "Figura a margine"
-       "MarginTable" "Tabella a margine"
        "Notation" "Notazione"
        "Note" "Nota"
-       "Planotable" "Planotable"
-       "Plate" "Foglio"
        "Problem" "Problema"
        "Proof" "Dimostrazione"
        "Proposition" "Proposizione"
@@ -815,7 +672,6 @@ Translation it
        "Remark" "Osservazione"
        "Scheme" "Schema"
        "Summary" "Sommario"
-       "Table" "Tabella"
        "Tableau" "Tableau"
        "Theorem" "Teorema"
 End
@@ -837,22 +693,15 @@ Translation ja
        "Example" "例"
        "Exercise" "演習"
        "Fact" "事実"
-       "Figure" "図"
        "Graph" "グラフ"
        "Lemma" "補題"
        "List of Algorithms" "アルゴリズム一覧"
        "List of Charts" "チャート一覧"
-       "List of Figures" "図一覧"
        "List of Graphs" "グラフ一覧"
        "List of Schemes" "スキーム一覧"
        "List of Tableaux" "絵画一覧"
-       "List of Tables" "表一覧"
-       "MarginFigure" "傍図"
-       "MarginTable" "傍表"
        "Notation" "記法"
        "Note" "注釈"
-       "Planotable" "平面表(planotable)"
-       "Plate" "挿絵"
        "Problem" "問題"
        "Proof" "証明"
        "Proposition" "命題"
@@ -860,7 +709,6 @@ Translation ja
        "Remark" "所見"
        "Scheme" "スキーム"
        "Summary" "要約"
-       "Table" "表"
        "Tableau" "絵画"
        "Theorem" "定理"
 End
@@ -882,22 +730,15 @@ Translation ko
        "Example" "Example"
        "Exercise" "Exercise"
        "Fact" "Fact"
-       "Figure" "그림"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "알고리듬 목록"
        "List of Charts" "List of Charts"
-       "List of Figures" "그림 목록"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "테이블 목록"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notation"
        "Note" "노우트(Note)"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "Proof"
        "Proposition" "Proposition"
@@ -905,7 +746,6 @@ Translation ko
        "Remark" "Remark"
        "Scheme" "Scheme"
        "Summary" "Summary"
-       "Table" "Table"
        "Tableau" "Tableau"
        "Theorem" "Theorem"
 End
@@ -927,22 +767,15 @@ Translation nb
        "Example" "Eksempel"
        "Exercise" "Øvelse"
        "Fact" "Faktum"
-       "Figure" "Figur"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "Liste over algoritmer"
        "List of Charts" "List of Charts"
-       "List of Figures" "Liste over figurer"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "Liste over tabeller"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notasjon"
        "Note" "Note"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "Bevis"
        "Proposition" "Proposisjon"
@@ -950,7 +783,6 @@ Translation nb
        "Remark" "Merknad"
        "Scheme" "Scheme"
        "Summary" "Sammendrag"
-       "Table" "Tabell"
        "Tableau" "Tableau"
        "Theorem" "Teorem"
 End
@@ -972,22 +804,15 @@ Translation nl
        "Example" "Voorbeeld"
        "Exercise" "Oefening"
        "Fact" "Feit"
-       "Figure" "Figuur"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "List of Algorithms"
        "List of Charts" "List of Charts"
-       "List of Figures" "List of Figures"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "List of Tables"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notation"
        "Note" "Notitie"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "Proof"
        "Proposition" "Proposition"
@@ -995,7 +820,6 @@ Translation nl
        "Remark" "Opmerking"
        "Scheme" "Scheme"
        "Summary" "Samenvatting"
-       "Table" "Tabel"
        "Tableau" "Tableau"
        "Theorem" "Theorem"
 End
@@ -1017,22 +841,15 @@ Translation nn
        "Example" "Døme"
        "Exercise" "Øving"
        "Fact" "Faktum"
-       "Figure" "Figur"
        "Graph" "Grafar"
        "Lemma" "Lemma"
        "List of Algorithms" "Liste over algoritmer"
        "List of Charts" "Liste over diagram"
-       "List of Figures" "Liste over figurar"
        "List of Graphs" "Liste over grafar"
        "List of Schemes" "Liste over skjema"
        "List of Tableaux" "Liste over tablå"
-       "List of Tables" "Liste over tabellar"
-       "MarginFigure" "MargFigur"
-       "MarginTable" "Margtabell"
        "Notation" "Notasjon"
        "Note" "Notis"
-       "Planotable" "Plano- tabell"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "Prov"
        "Proposition" "Framlegg"
@@ -1040,7 +857,6 @@ Translation nn
        "Remark" "Merknad"
        "Scheme" "Skjema"
        "Summary" "Samandrag"
-       "Table" "Tabell"
        "Tableau" "Tablå"
        "Theorem" "Teorem"
 End
@@ -1062,22 +878,15 @@ Translation pl
        "Example" "Przykład"
        "Exercise" "Ćwiczenie"
        "Fact" "Fakt"
-       "Figure" "Rysunek"
        "Graph" "Graph"
        "Lemma" "Lemat"
        "List of Algorithms" "Lista algorytmów"
        "List of Charts" "List of Charts"
-       "List of Figures" "Spis rysunków"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "Spis tabel"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notacja"
        "Note" "Notka"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "Dowód"
        "Proposition" "Propozycja"
@@ -1085,7 +894,6 @@ Translation pl
        "Remark" "Uwaga"
        "Scheme" "Scheme"
        "Summary" "Podsumowanie"
-       "Table" "Tabela"
        "Tableau" "Tableau"
        "Theorem" "Twierdzenie"
 End
@@ -1107,22 +915,15 @@ Translation pt
        "Example" "Exemplo"
        "Exercise" "Exercício"
        "Fact" "Facto"
-       "Figure" "Figura"
        "Graph" "Gráfico"
        "Lemma" "Lema"
        "List of Algorithms" "Lista de Algoritmos"
        "List of Charts" "List of Charts"
-       "List of Figures" "Lista de Figuras"
        "List of Graphs" "Lista de Gráficos"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "Lista de Quadros"
-       "List of Tables" "Lista de Tabelas"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notação"
        "Note" "Nota"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problema"
        "Proof" "Prova"
        "Proposition" "Proposição"
@@ -1130,7 +931,6 @@ Translation pt
        "Remark" "Observação"
        "Scheme" "Scheme"
        "Summary" "Sumário"
-       "Table" "Tabela"
        "Tableau" "Quadro"
        "Theorem" "Teorema"
 End
@@ -1152,22 +952,15 @@ Translation ro
        "Example" "Exemplu"
        "Exercise" "Exerciţiu"
        "Fact" "Fapt"
-       "Figure" "Figură"
        "Graph" "Grafic"
        "Lemma" "Lemă"
        "List of Algorithms" "Listă de Algoritmi"
        "List of Charts" "Listă de Tabele"
-       "List of Figures" "Listă de figuri"
        "List of Graphs" "Listă de grafice"
        "List of Schemes" "Listă de Scheme"
        "List of Tableaux" "Listă de Tabele"
-       "List of Tables" "Listă de tabele"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notaţie"
        "Note" "Notă"
-       "Planotable" "Planotable"
-       "Plate" "Tăbliţă"
        "Problem" "Problemă"
        "Proof" "Demonstraţie"
        "Proposition" "Propoziţie"
@@ -1175,7 +968,6 @@ Translation ro
        "Remark" "Remarcă"
        "Scheme" "Schemă"
        "Summary" "Sumar"
-       "Table" "Tabel"
        "Tableau" "Tabel"
        "Theorem" "Teoremă"
 End
@@ -1197,22 +989,15 @@ Translation ru
        "Example" "Пример"
        "Exercise" "Упражнение"
        "Fact" "Факт"
-       "Figure" "Рисунок"
        "Graph" "График"
        "Lemma" "Лемма"
        "List of Algorithms" "Список алгоритмов"
        "List of Charts" "Список чертежей"
-       "List of Figures" "Список рисунков"
        "List of Graphs" "Список графиков"
        "List of Schemes" "Список схем"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "Список таблиц"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Нотация"
        "Note" "Заметка"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Проблема"
        "Proof" "Доказательство"
        "Proposition" "Предложение"
@@ -1220,7 +1005,6 @@ Translation ru
        "Remark" "Замечание"
        "Scheme" "Схема"
        "Summary" "Сводка"
-       "Table" "Таблица"
        "Tableau" "Tableau"
        "Theorem" "Теорема"
 End
@@ -1242,22 +1026,15 @@ Translation sk
        "Example" "Príklad"
        "Exercise" "Úloha"
        "Fact" "Fakt"
-       "Figure" "Obrázok"
        "Graph" "Grafika"
        "Lemma" "Lemma"
        "List of Algorithms" "Zoznam algoritmov"
        "List of Charts" "Zoznam nákresov"
-       "List of Figures" "Zoznam obrázkov"
        "List of Graphs" "Zoznam grafík"
        "List of Schemes" "Zoznam náčrtkov"
        "List of Tableaux" "Zoznam tablov"
-       "List of Tables" "Zoznam tabuliek"
-       "MarginFigure" "OkrajnýObrázok"
-       "MarginTable" "Okrajná tabuľka"
        "Notation" "Notácia"
        "Note" "Poznámka"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problém"
        "Proof" "Dôkaz"
        "Proposition" "Tvrdenie"
@@ -1265,7 +1042,6 @@ Translation sk
        "Remark" "Pripomienka"
        "Scheme" "Náčrtok"
        "Summary" "Súhrn"
-       "Table" "Tabuľka"
        "Tableau" "Tablo"
        "Theorem" "Teoréma"
 End
@@ -1287,22 +1063,15 @@ Translation sl
        "Example" "Zgled"
        "Exercise" "Vaja"
        "Fact" "Dejstvo"
-       "Figure" "Slika"
        "Graph" "Graph"
        "Lemma" "Lema"
        "List of Algorithms" "List of Algorithms"
        "List of Charts" "List of Charts"
-       "List of Figures" "List of Figures"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "List of Tables"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Zapis"
        "Note" "Opomba"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "Dokaz"
        "Proposition" "Podmena"
@@ -1310,7 +1079,6 @@ Translation sl
        "Remark" "Pripomba"
        "Scheme" "Scheme"
        "Summary" "Povzetek"
-       "Table" "Tabela"
        "Tableau" "Tableau"
        "Theorem" "Izrek"
 End
@@ -1332,22 +1100,15 @@ Translation sr
        "Example" "Primer"
        "Exercise" "Vežba"
        "Fact" "Činjenica"
-       "Figure" "Figure"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "Spisak algoritama"
        "List of Charts" "List of Charts"
-       "List of Figures" "List of Figures"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "Lista Šema"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "List of Tables"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Zabeleška"
        "Note" "Napomena"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "Dokaz"
        "Proposition" "Predlog"
@@ -1355,7 +1116,6 @@ Translation sr
        "Remark" "Napomena"
        "Scheme" "Šema"
        "Summary" "Rezime"
-       "Table" "Table"
        "Tableau" "Tableau"
        "Theorem" "Teorema"
 End
@@ -1377,22 +1137,15 @@ Translation sv
        "Example" "Exempel"
        "Exercise" "Övning"
        "Fact" "Fakta"
-       "Figure" "Figur"
        "Graph" "Graf"
        "Lemma" "Lemma"
        "List of Algorithms" "Lista över algoritmer"
        "List of Charts" "Lista över diagram"
-       "List of Figures" "Lista över figurer"
        "List of Graphs" "Lista över grafer"
        "List of Schemes" "Lista över scheman"
        "List of Tableaux" "Lista över tablåer"
-       "List of Tables" "Lista över tabeller"
-       "MarginFigure" "Marginalfigur"
-       "MarginTable" "Marginaltabell"
        "Notation" "Notation"
        "Note" "Not"
-       "Planotable" "Planotabell"
-       "Plate" "Platta"
        "Problem" "Problem"
        "Proof" "Bevis"
        "Proposition" "Proposition"
@@ -1400,7 +1153,6 @@ Translation sv
        "Remark" "Anmärkning"
        "Scheme" "Schema"
        "Summary" "Sammanfattning"
-       "Table" "Tabell"
        "Tableau" "Tablå"
        "Theorem" "Teorem"
 End
@@ -1422,22 +1174,15 @@ Translation tr
        "Example" "Örnek"
        "Exercise" "Alıştırma"
        "Fact" "Olgu"
-       "Figure" "Figür"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "Algoritma Listesi"
        "List of Charts" "List of Charts"
-       "List of Figures" "Figür Listesi"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "Plan Listesi"
        "List of Tableaux" "Tablo Listesi"
-       "List of Tables" "Tablo Listesi"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notasyon"
        "Note" "Not"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Problem"
        "Proof" "İspat"
        "Proposition" "Önerme"
@@ -1445,7 +1190,6 @@ Translation tr
        "Remark" "Açıklama"
        "Scheme" "Plan"
        "Summary" "Özet"
-       "Table" "Tablo"
        "Tableau" "Tablo"
        "Theorem" "Teorem"
 End
@@ -1467,22 +1211,15 @@ Translation uk
        "Example" "Приклад"
        "Exercise" "Вправа"
        "Fact" "Факт"
-       "Figure" "Рисунок"
        "Graph" "Графік"
        "Lemma" "Лема"
        "List of Algorithms" "Алгоритм"
        "List of Charts" "Список діаграм"
-       "List of Figures" "Список малюнків"
        "List of Graphs" "Список графіків"
        "List of Schemes" "Список схем"
        "List of Tableaux" "Список табло"
-       "List of Tables" "Список таблиць"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Позначення"
        "Note" "Примітка"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "Проблема"
        "Proof" "На коректуру"
        "Proposition" "Твердження"
@@ -1490,7 +1227,6 @@ Translation uk
        "Remark" "Помітка"
        "Scheme" "Scheme"
        "Summary" "Зведення"
-       "Table" "Таблиця"
        "Tableau" "Табло"
        "Theorem" "Теорема"
 End
@@ -1512,22 +1248,15 @@ Translation zh_CN
        "Example" "示例"
        "Exercise" "练习"
        "Fact" "Fact"
-       "Figure" "图"
        "Graph" "图形"
        "Lemma" "引理"
        "List of Algorithms" "算法列表"
        "List of Charts" "图表列表"
-       "List of Figures" "图像列表"
        "List of Graphs" "图形列表"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "表格列表"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "Notation"
        "Note" "备忘"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "问题"
        "Proof" "证明"
        "Proposition" "Propositio"
@@ -1535,7 +1264,6 @@ Translation zh_CN
        "Remark" "Remark"
        "Scheme" "Scheme"
        "Summary" "摘要"
-       "Table" "表"
        "Tableau" "Tableau"
        "Theorem" "定理"
 End
@@ -1557,22 +1285,15 @@ Translation zh_TW
        "Example" "範例"
        "Exercise" "練習"
        "Fact" "Fact"
-       "Figure" "圖片"
        "Graph" "Graph"
        "Lemma" "Lemma"
        "List of Algorithms" "演算法清單"
        "List of Charts" "List of Charts"
-       "List of Figures" "圓圈清單"
        "List of Graphs" "List of Graphs"
        "List of Schemes" "List of Schemes"
        "List of Tableaux" "List of Tableaux"
-       "List of Tables" "表格列表"
-       "MarginFigure" "MarginFigure"
-       "MarginTable" "MarginTable"
        "Notation" "記法"
        "Note" "註記"
-       "Planotable" "Planotable"
-       "Plate" "Plate"
        "Problem" "問題"
        "Proof" "證明"
        "Proposition" "Proposition"
@@ -1580,7 +1301,6 @@ Translation zh_TW
        "Remark" "備註"
        "Scheme" "Scheme"
        "Summary" "概要"
-       "Table" "表格"
        "Tableau" "Tableau"
        "Theorem" "定理"
 End
index 0d239ed01212df46581e30c98c4b1c757e2ddb71..0132ec440e6a56dc4989660c8680a98fadb035a9 100755 (executable)
@@ -96,7 +96,9 @@ def layouts_l10n(input_files, output, base, layouttranslations):
     CounterFormat = re.compile(r'\s*PrettyFormat\s+"?(.*)"?')
     CiteFormat = re.compile(r'\s*CiteFormat')
     KeyVal = re.compile(r'^\s*_\w+\s+(.*)$')
-    Float = re.compile(r'\s*Float')
+    Float = re.compile(r'\s*Float\s*$')
+    UsesFloatPkg = re.compile(r'\s*UsesFloatPkg\s+(.*)')
+    IsPredefined = re.compile(r'\s*IsPredefined\s+(.*)')
     End = re.compile(r'\s*End')
     Comment = re.compile(r'\s*#')
     Translation = re.compile(r'\s*Translation\s+(.*)\s*$')
@@ -160,6 +162,10 @@ def layouts_l10n(input_files, output, base, layouttranslations):
         readingI18nPreamble = False
         readingFloat = False
         readingCiteFormats = False
+        isPredefined = False
+        usesFloatPkg = True
+        listname = ''
+        floatname = ''
         descStartLine = -1
         descLines = []
         lineno = 0
@@ -222,7 +228,7 @@ def layouts_l10n(input_files, output, base, layouttranslations):
                 if layouttranslations:
                     # gui name must only be added for floats
                     if readingFloat:
-                        keyset.add(string)
+                        floatname = string
                 else:
                     writeString(out, src, base, lineno, string)
                 continue
@@ -236,7 +242,7 @@ def layouts_l10n(input_files, output, base, layouttranslations):
             if res != None:
                 string = res.group(1)
                 if layouttranslations:
-                    keyset.add(string.strip('"'))
+                    listname = string.strip('"')
                 else:
                     writeString(out, src, base, lineno, string)
                 continue
@@ -268,13 +274,44 @@ def layouts_l10n(input_files, output, base, layouttranslations):
             if res != None:
                 readingFloat = True
                 continue
+            res = IsPredefined.search(line)
+            if res != None:
+                string = res.group(1).lower()
+                if string == 'true':
+                    isPredefined = True
+                else:
+                    isPredefined = False
+                continue
+            res = UsesFloatPkg.search(line)
+            if res != None:
+                string = res.group(1).lower()
+                if string == 'true':
+                    usesFloatPkg = True
+                else:
+                    usesFloatPkg = False
+                continue
             res = CiteFormat.search(line)
             if res != None:
                 readingCiteFormats = True
+                continue
             res = End.search(line)
             if res != None:
+                # If a float is predefined by the package and it does not need
+                # the float package then it uses the standard babel translations.
+                # This is even true for MarginFigure, MarginTable (both from
+                # tufte-book.layout) and Planotable, Plate (both from aguplus.inc).
+                if layouttranslations and readingFloat and usesFloatPkg and not isPredefined:
+                    if floatname != '':
+                        keyset.add(floatname)
+                    if listname != '':
+                        keyset.add(listname)
+                isPredefined = False
+                usesFloatPkg = True
+                listname = ''
+                floatname = ''
                 readingCiteFormats = False
                 readingFloat = False
+                continue
             if readingCiteFormats:
                 res = KeyVal.search(line)
                 if res != None: