This commit is contained in:
Yohan Boniface 2018-07-07 23:08:33 +02:00
parent 2eb909ba3d
commit c2d2751cdf
27 changed files with 469 additions and 27 deletions

View file

@ -2,7 +2,7 @@ test:
py.test -xv umap/tests/
develop:
python setup.py develop
release: test makemessages
release: test compilemessages
python setup.py sdist bdist_wheel
test_publish:
twine upload -r testpypi dist/*

View file

@ -342,7 +342,24 @@ var locale = {
"next": "ቀጥሎ",
"previous": "ቀድሞ",
"width": "ጎን",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("am_ET", locale);
L.setLocale("am_ET");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "широчина",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("bg", locale);
L.setLocale("bg");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "amplada",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("ca", locale);
L.setLocale("ca");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "další",
"previous": "předchozí",
"width": "šířka",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("cs_CZ", locale);
L.setLocale("cs_CZ");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "næste",
"previous": "forrige",
"width": "bredde",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("da", locale);
L.setLocale("da");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "weiter",
"previous": "zurück",
"width": "Breite",
"{count} errors during import: {message}": "{count} Fehler während dem Import: {message}"
"{count} errors during import: {message}": "{count} Fehler während dem Import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("de", locale);
L.setLocale("de");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "επόμενο",
"previous": "προηγούμενο",
"width": "πλάτος",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("el", locale);
L.setLocale("el");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "width",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("en", locale);
L.setLocale("en");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "siguiente",
"previous": "anterior",
"width": "anchura",
"{count} errors during import: {message}": "{count} errores durante la importación: {message}"
"{count} errors during import: {message}": "{count} errores durante la importación: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("es", locale);
L.setLocale("es");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "seuraava",
"previous": "edellinen",
"width": "leveys",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("fi", locale);
L.setLocale("fi");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "suivant",
"previous": "précédent",
"width": "largeur",
"{count} errors during import: {message}": "{count} erreurs pendant l'import: {message}"
"{count} errors during import: {message}": "{count} erreurs pendant l'import: {message}",
"Measure distances": "Mesurer les distances",
"NM": "NM",
"kilometers": "kilomètres",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "miles nautiques",
"{area} acres": "{area} hectares",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("fr", locale);
L.setLocale("fr");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "width",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("hr", locale);
L.setLocale("hr");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "width",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("hu", locale);
L.setLocale("hu");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "prossimo",
"previous": "precedente",
"width": "larghezza",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("it", locale);
L.setLocale("it");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "次へ",
"previous": "前へ",
"width": "横幅",
"{count} errors during import: {message}": "インポートで {count} 個のエラー: {message}"
"{count} errors during import: {message}": "インポートで {count} 個のエラー: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("ja", locale);
L.setLocale("ja");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "plotis",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("lt", locale);
L.setLocale("lt");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "breedte",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("nl", locale);
L.setLocale("nl");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "następne",
"previous": "poprzednie",
"width": "szerokość",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("pl", locale);
L.setLocale("pl");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "seguinte",
"previous": "anterior",
"width": "largura",
"{count} errors during import: {message}": "{count} erros ao importar: {message}"
"{count} errors during import: {message}": "{count} erros ao importar: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("pt", locale);
L.setLocale("pt");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "следующий",
"previous": "предыдущий",
"width": "ширина",
"{count} errors during import: {message}": "{count} ошибок во время импорта: {message}"
"{count} errors during import: {message}": "{count} ошибок во время импорта: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("ru", locale);
L.setLocale("ru");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "ďalší",
"previous": "predchádzajúci",
"width": "Šírka",
"{count} errors during import: {message}": "Počet chýb počas importu {count}: {message}"
"{count} errors during import: {message}": "Počet chýb počas importu {count}: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("sk_SK", locale);
L.setLocale("sk_SK");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "naslednji",
"previous": "predhodni",
"width": "širina",
"{count} errors during import: {message}": "Zaznane so napake ({count}) med uvozom: {message}"
"{count} errors during import: {message}": "Zaznane so napake ({count}) med uvozom: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("sl", locale);
L.setLocale("sl");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "ширина",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("uk_UA", locale);
L.setLocale("uk_UA");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "width",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("vi", locale);
L.setLocale("vi");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "next",
"previous": "previous",
"width": "宽",
"{count} errors during import: {message}": "{count} errors during import: {message}"
"{count} errors during import: {message}": "{count} errors during import: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("zh", locale);
L.setLocale("zh");

View file

@ -342,7 +342,24 @@ var locale = {
"next": "下一個",
"previous": "前一個",
"width": "寬度",
"{count} errors during import: {message}": "於匯入時發生 {count} 項錯誤: {message}"
"{count} errors during import: {message}": "於匯入時發生 {count} 項錯誤: {message}",
"Measure distances": "Measure distances",
"NM": "NM",
"kilometers": "kilometers",
"km": "km",
"mi": "mi",
"miles": "miles",
"nautical miles": "nautical miles",
"{area} acres": "{area} acres",
"{area} ha": "{area} ha",
"{area} m²": "{area} m²",
"{area} mi²": "{area} mi²",
"{area} yd²": "{area} yd²",
"{distance} NM": "{distance} NM",
"{distance} km": "{distance} km",
"{distance} m": "{distance} m",
"{distance} miles": "{distance} miles",
"{distance} yd": "{distance} yd"
};
L.registerLocale("zh_TW", locale);
L.setLocale("zh_TW");