Feat(connectivity): invite visitors to add their country's import list

Closes the "Import a List" grid with a muted line linking to the open
country-list issue, so a visitor who finds their country missing sees
where to add it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
jason5ng32andClaude Fable 5.1 committed 2026-10-23 22:03:39 +08:00
1 parent f6e979f52d
commit c0ae017f89
7 files changed
+28 -6

No files matched your search

@@ -59,6 +59,16 @@
</DropdownMenuContent>
</DropdownMenu>
</li>
<!-- Closing invite to contribute a country list; scrolls with the grid. -->
<li class="md:col-span-2 px-1 py-1 text-xs text-muted-foreground leading-relaxed">
<i18n-t keypath="connectivity.importDialog.MissingCountry" tag="p" scope="global" class="m-0">
<template #link>
<a href="https://github.com/jason5ng32/MyIP/issues/452" target="_blank" rel="noopener noreferrer"
class="underline underline-offset-4 decoration-current/40 hover:text-foreground hover:decoration-current">
{{ t('connectivity.importDialog.MissingCountryLink') }}</a>
</template>
</i18n-t>
</li>
</ul>
<!-- Success stays quiet; only cap / list-limit errors show here. -->
<div class="flex items-center justify-end min-h-4 text-xs">
+3 -1
View File
@@ -1837,7 +1837,9 @@
"Import": "Import",
"NotEnoughCapacity": "Not enough capacity — this list needs {need} slots, only {free} left.",
"Destination": "Add to",
"ImportAsNew": "Import as a new list"
"ImportAsNew": "Import as a new list",
"MissingCountry": "Don't see your country? {link}",
"MissingCountryLink": "Add a list for it"
},
"lists": {
"Tab": "Lists",
+3 -1
View File
@@ -1837,7 +1837,9 @@
"Import": "Importer",
"NotEnoughCapacity": "Capacité insuffisante — cette liste nécessite {need} emplacements, seulement {free} restants.",
"Destination": "Ajouter à",
"ImportAsNew": "Importer comme nouvelle liste"
"ImportAsNew": "Importer comme nouvelle liste",
"MissingCountry": "Votre pays n'y figure pas ? {link}",
"MissingCountryLink": "Ajoutez une liste pour lui"
},
"lists": {
"Tab": "Listes",
+3 -1
View File
@@ -1837,7 +1837,9 @@
"Import": "Importar",
"NotEnoughCapacity": "Capacidade insuficiente — esta lista precisa de {need} vagas, mas só restam {free}.",
"Destination": "Adicionar a",
"ImportAsNew": "Importar como nova lista"
"ImportAsNew": "Importar como nova lista",
"MissingCountry": "Não encontrou seu país? {link}",
"MissingCountryLink": "Adicione uma lista para ele"
},
"lists": {
"Tab": "Listas",
+3 -1
View File
@@ -1837,7 +1837,9 @@
"Import": "Импорт",
"NotEnoughCapacity": "Недостаточно места — для списка нужно слотов: {need}, свободно: {free}.",
"Destination": "Добавить в",
"ImportAsNew": "Импортировать как новый список"
"ImportAsNew": "Импортировать как новый список",
"MissingCountry": "Нет вашей страны? {link}",
"MissingCountryLink": "Добавьте для неё список"
},
"lists": {
"Tab": "Списки",
+3 -1
View File
@@ -1837,7 +1837,9 @@
"Import": "匯入",
"NotEnoughCapacity": "容量不足——該清單需要 {need} 個空位,僅剩 {free} 個",
"Destination": "加入到",
"ImportAsNew": "匯入為新清單"
"ImportAsNew": "匯入為新清單",
"MissingCountry": "沒有你所在國家的清單?{link}",
"MissingCountryLink": "來新增一個"
},
"lists": {
"Tab": "清單",
+3 -1
View File
@@ -1837,7 +1837,9 @@
"Import": "导入",
"NotEnoughCapacity": "容量不足——该列表需要 {need} 个空位,仅剩 {free} 个",
"Destination": "添加到",
"ImportAsNew": "导入为新列表"
"ImportAsNew": "导入为新列表",
"MissingCountry": "没有你所在国家的列表?{link}",
"MissingCountryLink": "来添加一个"
},
"lists": {
"Tab": "列表",