From c0ae017f89624f8cc4c9de6dbc48d93d13d382c7 Mon Sep 17 00:00:00 2001 From: jason5ng32 Date: Fri, 23 Oct 2026 22:03:39 +0800 Subject: [PATCH] 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 --- frontend/components/widgets/ConnectivityAddDialog.vue | 10 ++++++++++ frontend/locales/en.json | 4 +++- frontend/locales/fr.json | 4 +++- frontend/locales/pt-BR.json | 4 +++- frontend/locales/ru.json | 4 +++- frontend/locales/zh-TW.json | 4 +++- frontend/locales/zh.json | 4 +++- 7 files changed, 28 insertions(+), 6 deletions(-) diff --git a/frontend/components/widgets/ConnectivityAddDialog.vue b/frontend/components/widgets/ConnectivityAddDialog.vue index 71769075..8878e8d9 100644 --- a/frontend/components/widgets/ConnectivityAddDialog.vue +++ b/frontend/components/widgets/ConnectivityAddDialog.vue @@ -59,6 +59,16 @@ + +
  • + + + +
  • diff --git a/frontend/locales/en.json b/frontend/locales/en.json index 9d66d52c..6f1aedd6 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -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", diff --git a/frontend/locales/fr.json b/frontend/locales/fr.json index 7b7d0c9c..8d4dd1c1 100644 --- a/frontend/locales/fr.json +++ b/frontend/locales/fr.json @@ -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", diff --git a/frontend/locales/pt-BR.json b/frontend/locales/pt-BR.json index e108c390..d7ac0e4c 100644 --- a/frontend/locales/pt-BR.json +++ b/frontend/locales/pt-BR.json @@ -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", diff --git a/frontend/locales/ru.json b/frontend/locales/ru.json index b163c348..0cc05c01 100644 --- a/frontend/locales/ru.json +++ b/frontend/locales/ru.json @@ -1837,7 +1837,9 @@ "Import": "Импорт", "NotEnoughCapacity": "Недостаточно места — для списка нужно слотов: {need}, свободно: {free}.", "Destination": "Добавить в", - "ImportAsNew": "Импортировать как новый список" + "ImportAsNew": "Импортировать как новый список", + "MissingCountry": "Нет вашей страны? {link}", + "MissingCountryLink": "Добавьте для неё список" }, "lists": { "Tab": "Списки", diff --git a/frontend/locales/zh-TW.json b/frontend/locales/zh-TW.json index 9d928f2c..05649f4d 100644 --- a/frontend/locales/zh-TW.json +++ b/frontend/locales/zh-TW.json @@ -1837,7 +1837,9 @@ "Import": "匯入", "NotEnoughCapacity": "容量不足——該清單需要 {need} 個空位,僅剩 {free} 個", "Destination": "加入到", - "ImportAsNew": "匯入為新清單" + "ImportAsNew": "匯入為新清單", + "MissingCountry": "沒有你所在國家的清單?{link}", + "MissingCountryLink": "來新增一個" }, "lists": { "Tab": "清單", diff --git a/frontend/locales/zh.json b/frontend/locales/zh.json index 24a72571..d36c0543 100644 --- a/frontend/locales/zh.json +++ b/frontend/locales/zh.json @@ -1837,7 +1837,9 @@ "Import": "导入", "NotEnoughCapacity": "容量不足——该列表需要 {need} 个空位,仅剩 {free} 个", "Destination": "添加到", - "ImportAsNew": "导入为新列表" + "ImportAsNew": "导入为新列表", + "MissingCountry": "没有你所在国家的列表?{link}", + "MissingCountryLink": "来添加一个" }, "lists": { "Tab": "列表",