Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Commit 4dcfdec

Browse files
feat(ui): add new language filter autocomplete (#477)
* ref(ui): updated autocomplete * removed duplicated name Co-authored-by: Juan Picado <juanpicado19@gmail.com>
1 parent 51d6777 commit 4dcfdec

File tree

18 files changed

+1229
-534
lines changed

18 files changed

+1229
-534
lines changed

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"react/jsx-key": ["error"],
8686
"react/jsx-max-depth":["error", { "max": 5}],
8787
"react/jsx-max-props-per-line": ["error", {"maximum": 3, "when": "multiline" }],
88-
"react/jsx-no-bind": ["error"],
88+
"react/jsx-no-bind": ["error", {"allowArrowFunctions": true}],
8989
"react/jsx-no-comment-textnodes": ["error"],
9090
"react/jsx-no-duplicate-props": ["error"],
9191
"react/jsx-no-literals": ["error"],

i18n/translations/de-DE.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "Pakete suchen"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "wird geladen...",
24-
"no-results-found": "Kein Ergebnis gefunden"
24+
"no-results-found": "Kein Ergebnis gefunden",
25+
"clear": "Löschen",
26+
"expand": "Erweitern",
27+
"collapse": "Zurückziehen"
2528
},
2629
"tab": {
2730
"uplinks": "Uplinks",
@@ -146,7 +149,5 @@
146149
"french": "Französisch",
147150
"ukraine": "Ukrainisch",
148151
"khmer": "Khmer"
149-
},
150-
"help-to-translate": "Hilfe beim Übersetzen",
151-
"change-language": "Sprache ändern"
152+
}
152153
}

i18n/translations/en-US.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "Search Packages"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "Loading...",
24-
"no-results-found": "No results found"
24+
"no-results-found": "No results found",
25+
"clear": "Clear",
26+
"expand": "Expand",
27+
"collapse": "Collapse"
2528
},
2629
"tab": {
2730
"uplinks": "Uplinks",
@@ -146,7 +149,5 @@
146149
"french": "French",
147150
"ukraine": "Ukraine",
148151
"khmer": "Khmer"
149-
},
150-
"help-to-translate": "Help to translate",
151-
"change-language": "Change language"
152+
}
152153
}

i18n/translations/es-ES.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "Buscar paquetes"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "Cargando...",
24-
"no-results-found": "Sin resultados encontrados"
24+
"no-results-found": "Sin resultados encontrados",
25+
"clear": "Limpiar",
26+
"expand": "Expandir",
27+
"collapse": "Retraer"
2528
},
2629
"tab": {
2730
"uplinks": "Remoto",
@@ -146,7 +149,5 @@
146149
"french": "Francés",
147150
"ukraine": "Ucraniano",
148151
"khmer": "Khmer"
149-
},
150-
"help-to-translate": "Ayuda a traducir",
151-
"change-language": "Cambiar idioma"
152+
}
152153
}

i18n/translations/fr-FR.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "Rechercher des paquets"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "En cours de chargement...",
24-
"no-results-found": "Aucun resultat trouvé"
24+
"no-results-found": "Aucun resultat trouvé",
25+
"clear": "Nettoyer",
26+
"expand": "Développer",
27+
"collapse": "Se rétracter"
2528
},
2629
"tab": {
2730
"uplinks": "Uplinks",
@@ -146,7 +149,5 @@
146149
"french": "Français",
147150
"ukraine": "Ukrainien",
148151
"khmer": "Khmer"
149-
},
150-
"help-to-translate": "Aide à la traduction",
151-
"change-language": "Changer la langue"
152+
}
152153
}

i18n/translations/ja-JP.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "パッケージを検索"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "ロード中...",
24-
"no-results-found": "パッケージが見つかりませんでした"
24+
"no-results-found": "パッケージが見つかりませんでした",
25+
"clear": "きれいにするため",
26+
"expand": "拡大する",
27+
"collapse": "撤回する"
2528
},
2629
"tab": {
2730
"uplinks": "アップリンク",
@@ -146,7 +149,5 @@
146149
"french": "フランス語",
147150
"ukraine": "ウクライナ",
148151
"khmer": "Khmer"
149-
},
150-
"help-to-translate": "翻訳を助ける",
151-
"change-language": "言語を変更"
152+
}
152153
}

i18n/translations/km-KH.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "ស្វែងរកកញ្ចប់"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "កំពុងផ្ទុក...",
24-
"no-results-found": "រកមិនឃើញលទ្ធផល"
24+
"no-results-found": "រកមិនឃើញលទ្ធផល",
25+
"clear": "សម្អាត",
26+
"expand": "ពង្រីក",
27+
"collapse": "ដកថយ"
2528
},
2629
"tab": {
2730
"uplinks": "ភ្ជាប់តំណទៅ",
@@ -146,7 +149,5 @@
146149
"french": "បារាំង",
147150
"ukraine": "អ៊ុយក្រែន",
148151
"khmer": "ខ្មែរ"
149-
},
150-
"help-to-translate": "ជួយបកប្រែ",
151-
"change-language": "ប្ដូរភាសា"
152+
}
152153
}

i18n/translations/pt-BR.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "Pesquisar Pacotes"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "Carregando...",
24-
"no-results-found": "Nenhum resultado encontrado"
24+
"no-results-found": "Nenhum resultado encontrado",
25+
"clear": "Limpar",
26+
"expand": "Expandir",
27+
"collapse": "Retrair"
2528
},
2629
"tab": {
2730
"uplinks": "Uplinks",
@@ -146,7 +149,5 @@
146149
"french": "Francês",
147150
"ukraine": "Ucraniano",
148151
"khmer": "Khmer"
149-
},
150-
"help-to-translate": "Ajude a traduzir",
151-
"change-language": "Mudar idioma"
152+
}
152153
}

i18n/translations/uk-UA.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "Пошук пакетів"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "Завантаження...",
24-
"no-results-found": "Нічого не знайдено"
24+
"no-results-found": "Нічого не знайдено",
25+
"clear": "Чистити",
26+
"expand": "Розгорнути",
27+
"collapse": "Відкликати"
2528
},
2629
"tab": {
2730
"uplinks": "Публікації",
@@ -146,7 +149,5 @@
146149
"french": "Французька",
147150
"ukraine": "Українська",
148151
"khmer": "Khmer"
149-
},
150-
"help-to-translate": "Допоможіть перекласти",
151-
"change-language": "Змінити мову"
152+
}
152153
}

i18n/translations/zh-CN.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"search": {
2020
"packages": "查找Packages"
2121
},
22-
"auto-complete": {
22+
"autoComplete": {
2323
"loading": "加载中...",
24-
"no-results-found": "没有找到结果"
24+
"no-results-found": "没有找到结果",
25+
"clear": "清洁",
26+
"expand": "扩大",
27+
"collapse": "缩回"
2528
},
2629
"tab": {
2730
"uplinks": "Uplinks",
@@ -146,7 +149,5 @@
146149
"french": "法语",
147150
"ukraine": "乌克兰",
148151
"khmer": "Khmer"
149-
},
150-
"help-to-translate": "帮助翻译",
151-
"change-language": "改变语言"
152+
}
152153
}

0 commit comments

Comments
 (0)