Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/components/ClaimPackageModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const connectorModalOpen = shallowRef(false)
<button
type="button"
class="text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 rounded"
:aria-label="$t('claim.modal.close')"
:aria-label="$t('common.close')"
@click="open = false"
>
<span class="i-carbon-close block w-5 h-5" aria-hidden="true" />
Expand Down Expand Up @@ -203,7 +203,7 @@ const connectorModalOpen = shallowRef(false)
class="flex-1 px-4 py-2 font-mono text-sm text-fg-muted bg-bg-subtle border border-border rounded-md transition-colors duration-200 hover:text-fg hover:border-border-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
@click="open = false"
>
{{ $t('claim.modal.close') }}
{{ $t('common.close') }}
</button>
</div>
</div>
Expand Down Expand Up @@ -395,7 +395,7 @@ const connectorModalOpen = shallowRef(false)
class="w-full px-4 py-2 font-mono text-sm text-fg-muted bg-bg-subtle border border-border rounded-md transition-colors duration-200 hover:text-fg hover:border-border-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
@click="open = false"
>
{{ $t('claim.modal.close') }}
{{ $t('common.close') }}
</button>
</div>

Expand All @@ -412,7 +412,7 @@ const connectorModalOpen = shallowRef(false)
class="w-full px-4 py-2 font-mono text-sm text-fg-muted bg-bg-subtle border border-border rounded-md transition-colors duration-200 hover:text-fg hover:border-border-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50"
@click="checkAvailability"
>
{{ $t('claim.modal.retry') }}
{{ $t('common.retry') }}
</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/components/ConnectorModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ watch(open, isOpen => {
<button
type="button"
class="text-fg-subtle hover:text-fg transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fg/50 rounded"
:aria-label="$t('connector.modal.close')"
:aria-label="$t('common.close')"
@click="open = false"
>
<span class="i-carbon-close block w-5 h-5" aria-hidden="true" />
Expand Down
3 changes: 0 additions & 3 deletions i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@
"modal": {
"title": "Local Connector",
"close_modal": "Close modal",
"close": "Close",
"connected": "Connected",
"logged_in_as": "Logged in as {'@'}{user}",
"connected_hint": "You can now manage packages and organizations from the web UI.",
Expand Down Expand Up @@ -426,7 +425,6 @@
"modal": {
"title": "Claim Package Name",
"close_modal": "Close modal",
"close": "Close",
"success": "Package claimed!",
"success_detail": "{name}{'@'}0.0.0 has been published to npm.",
"success_hint": "You can now publish new versions to this package using npm publish.",
Expand All @@ -444,7 +442,6 @@
"preview_json": "Preview package.json",
"claim_button": "Claim Package Name",
"publishing": "Publishing...",
"retry": "Retry",
"checking": "Checking availability...",
"failed_to_check": "Failed to check name availability",
"failed_to_claim": "Failed to claim package"
Expand Down
3 changes: 0 additions & 3 deletions i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@
"modal": {
"title": "Connecteur local",
"close_modal": "Fermer la fenêtre",
"close": "Fermer",
"connected": "Connecté·e",
"logged_in_as": "Connecté·e en tant que {'@'}{user}",
"connected_hint": "Vous pouvez maintenant gérer les paquets et les organisations depuis l'interface web.",
Expand Down Expand Up @@ -425,7 +424,6 @@
"modal": {
"title": "Réserver un nom de paquet",
"close_modal": "Fermer la fenêtre",
"close": "Fermer",
"success": "Paquet réservé !",
"success_detail": "{name}{'@'}0.0.0 a été publié sur npm.",
"success_hint": "Vous pouvez maintenant publier de nouvelles versions de ce paquet avec npm publish.",
Expand All @@ -443,7 +441,6 @@
"preview_json": "Aperçu du package.json",
"claim_button": "Réserver le nom de paquet",
"publishing": "Publication...",
"retry": "Réessayer",
"checking": "Vérification de la disponibilité...",
"failed_to_check": "Échec de la vérification de la disponibilité du nom",
"failed_to_claim": "Échec de la réservation du paquet"
Expand Down
5 changes: 1 addition & 4 deletions i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
"revoke_access": "Revoca {name} accesso",
"no_access": "Nessun accesso team configurato",
"select_team_label": "Seleziona team",
"caricando_teams": "Caricando i team...",
"loading_teams": "Caricando i team...",
"select_team": "Seleziona team",
"permission_label": "Livello di permessi",
"permission": {
Expand Down Expand Up @@ -264,7 +264,6 @@
"modal": {
"title": "Connessione Locale",
"close_modal": "Chiudi",
"close": "Chiudi",
"connected": "Connesso",
"logged_in_as": "Connesso come {'@'}{user}",
"connected_hint": "Puoi ora gestire i pacchetti e le organizzazioni dalla pagina web.",
Expand Down Expand Up @@ -413,7 +412,6 @@
"modal": {
"title": "Ottieni il nome del pacchetto",
"close_modal": "Chiudi",
"close": "Chiudi",
"success": "Pacchetto ottenuto!",
"success_detail": "{name}{'@'}0.0.0 è stato pubblicato su npm.",
"success_hint": "Ora puoi pubblicare nuove versioni di questo pacchetto usando npm publish.",
Expand All @@ -431,7 +429,6 @@
"preview_json": "Anteprima package.json",
"claim_button": "Ottieni il nome del pacchetto",
"publishing": "Pubblicando...",
"retry": "Riprova",
"checking": "Verificando disponibilità...",
"failed_to_check": "Verifica della disponibilità del nome non riuscita",
"failed_to_claim": "Operazione di acquisizione del pacchetto non riuscota"
Expand Down
9 changes: 3 additions & 6 deletions i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"theme": "主题",
"theme_dark": "深色",
"theme_light": "浅色",
"theme_system": "跟随系统"
"theme_system": "跟随系统",
"accent_colors": "强调色"
},
"common": {
"loading": "加载中...",
Expand Down Expand Up @@ -233,8 +234,7 @@
},
"grant_button": "授权",
"cancel_grant": "取消授权",
"grant_access": "+ 授予团队权限",
"caricando_teams": ""
"grant_access": "+ 授予团队权限"
},
"list": {
"filter_label": "筛选包",
Expand Down Expand Up @@ -277,7 +277,6 @@
"modal": {
"title": "本地连接器",
"close_modal": "关闭对话框",
"close": "关闭",
"connected": "已连接",
"logged_in_as": "登录为 {'@'}{user}",
"connected_hint": "现在您可以通过 Web UI 管理包和组织。",
Expand Down Expand Up @@ -426,7 +425,6 @@
"modal": {
"title": "声明包名",
"close_modal": "关闭对话框",
"close": "关闭",
"success": "包已声明!",
"success_detail": "{name}{'@'}0.0.0 已发布到 npm。",
"success_hint": "您现在可以使用 npm publish 发布新版本到这个包。",
Expand All @@ -444,7 +442,6 @@
"preview_json": "预览 package.json",
"claim_button": "声明包名",
"publishing": "发布中...",
"retry": "重试",
"checking": "检查可用性中...",
"failed_to_check": "检查名称可用性失败",
"failed_to_claim": "声明包名失败"
Expand Down