Skip to content

Commit 4a81df1

Browse files
committed
zen: add alipay for go sub
1 parent 75cae81 commit 4a81df1

20 files changed

Lines changed: 47 additions & 17 deletions

File tree

packages/console/app/src/component/icon.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,15 @@ export function IconStripe(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
111111
)
112112
}
113113

114+
export function IconAlipay(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
115+
return (
116+
<svg {...props} viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
117+
<path d="M2.541 0H13.5a2.55 2.55 0 0 1 2.54 2.563v8.297c-.006 0-.531-.046-2.978-.813-.412-.14-.916-.327-1.479-.536q-.456-.17-.957-.353a13 13 0 0 0 1.325-3.373H8.822V4.649h3.831v-.634h-3.83V2.121H7.26c-.274 0-.274.273-.274.273v1.621H3.11v.634h3.875v1.136h-3.2v.634H9.99c-.227.789-.532 1.53-.894 2.202-2.013-.67-4.161-1.212-5.51-.878-.864.214-1.42.597-1.746.998-1.499 1.84-.424 4.633 2.741 4.633 1.872 0 3.675-1.053 5.072-2.787 2.08 1.008 6.37 2.738 6.387 2.745v.105A2.55 2.55 0 0 1 13.5 16H2.541A2.55 2.55 0 0 1 0 13.437V2.563A2.55 2.55 0 0 1 2.541 0" />
118+
<path d="M2.309 9.27c-1.22 1.073-.49 3.034 1.978 3.034 1.434 0 2.868-.925 3.994-2.406-1.602-.789-2.959-1.353-4.425-1.207-.397.04-1.14.217-1.547.58Z" />
119+
</svg>
120+
)
121+
}
122+
114123
export function IconChevron(props: JSX.SvgSVGAttributes<SVGSVGElement>) {
115124
return (
116125
<svg {...props} width="8" height="6" viewBox="0 0 8 6" fill="none" xmlns="http://www.w3.org/2000/svg">

packages/console/app/src/i18n/ar.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ export const dict = {
537537
"workspace.billing.loading": "جارٍ التحميل...",
538538
"workspace.billing.addAction": "إضافة",
539539
"workspace.billing.addBalance": "إضافة رصيد",
540+
"workspace.billing.alipay": "Alipay",
540541
"workspace.billing.linkedToStripe": "مرتبط بـ Stripe",
541542
"workspace.billing.manage": "إدارة",
542543
"workspace.billing.enable": "تمكين الفوترة",
@@ -629,7 +630,7 @@ export const dict = {
629630
"workspace.lite.subscription.selectProvider":
630631
'اختر "OpenCode Go" كمزود في إعدادات opencode الخاصة بك لاستخدام نماذج Go.',
631632
"workspace.lite.black.message":
632-
'أنت مشترك حاليًا في OpenCode Black أو في قائمة الانتظار. يرجى إلغاء الاشتراك أولاً إذا كنت ترغب في التبديل إلى Go.',
633+
"أنت مشترك حاليًا في OpenCode Black أو في قائمة الانتظار. يرجى إلغاء الاشتراك أولاً إذا كنت ترغب في التبديل إلى Go.",
633634
"workspace.lite.other.message":
634635
"عضو آخر في مساحة العمل هذه مشترك بالفعل في OpenCode Go. يمكن لعضو واحد فقط لكل مساحة عمل الاشتراك.",
635636
"workspace.lite.promo.description":

packages/console/app/src/i18n/br.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ export const dict = {
545545
"workspace.billing.loading": "Carregando...",
546546
"workspace.billing.addAction": "Adicionar",
547547
"workspace.billing.addBalance": "Adicionar Saldo",
548+
"workspace.billing.alipay": "Alipay",
548549
"workspace.billing.linkedToStripe": "Vinculado ao Stripe",
549550
"workspace.billing.manage": "Gerenciar",
550551
"workspace.billing.enable": "Ativar Faturamento",
@@ -638,7 +639,7 @@ export const dict = {
638639
"workspace.lite.subscription.selectProvider":
639640
'Selecione "OpenCode Go" como provedor na sua configuração do opencode para usar os modelos Go.',
640641
"workspace.lite.black.message":
641-
'Você está atualmente inscrito no OpenCode Black ou na lista de espera. Por favor, cancele a assinatura primeiro se desejar mudar para o Go.',
642+
"Você está atualmente inscrito no OpenCode Black ou na lista de espera. Por favor, cancele a assinatura primeiro se desejar mudar para o Go.",
642643
"workspace.lite.other.message":
643644
"Outro membro neste workspace já assina o OpenCode Go. Apenas um membro por workspace pode assinar.",
644645
"workspace.lite.promo.description":

packages/console/app/src/i18n/da.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ export const dict = {
541541
"workspace.billing.loading": "Indlæser...",
542542
"workspace.billing.addAction": "Tilføj",
543543
"workspace.billing.addBalance": "Tilføj saldo",
544+
"workspace.billing.alipay": "Alipay",
544545
"workspace.billing.linkedToStripe": "Forbundet til Stripe",
545546
"workspace.billing.manage": "Administrer",
546547
"workspace.billing.enable": "Aktiver fakturering",
@@ -634,7 +635,7 @@ export const dict = {
634635
"workspace.lite.subscription.selectProvider":
635636
'Vælg "OpenCode Go" som udbyder i din opencode-konfiguration for at bruge Go-modeller.',
636637
"workspace.lite.black.message":
637-
'Du abonnerer i øjeblikket på OpenCode Black eller er på venteliste. Afmeld venligst først, hvis du vil skifte til Go.',
638+
"Du abonnerer i øjeblikket på OpenCode Black eller er på venteliste. Afmeld venligst først, hvis du vil skifte til Go.",
638639
"workspace.lite.other.message":
639640
"Et andet medlem i dette workspace abonnerer allerede på OpenCode Go. Kun ét medlem pr. workspace kan abonnere.",
640641
"workspace.lite.promo.description":

packages/console/app/src/i18n/de.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ export const dict = {
544544
"workspace.billing.loading": "Lade...",
545545
"workspace.billing.addAction": "Hinzufügen",
546546
"workspace.billing.addBalance": "Guthaben aufladen",
547+
"workspace.billing.alipay": "Alipay",
547548
"workspace.billing.linkedToStripe": "Mit Stripe verbunden",
548549
"workspace.billing.manage": "Verwalten",
549550
"workspace.billing.enable": "Abrechnung aktivieren",
@@ -637,7 +638,7 @@ export const dict = {
637638
"workspace.lite.subscription.selectProvider":
638639
'Wähle "OpenCode Go" als Anbieter in deiner opencode-Konfiguration, um Go-Modelle zu verwenden.',
639640
"workspace.lite.black.message":
640-
'Du hast derzeit OpenCode Black abonniert oder stehst auf der Warteliste. Bitte kündige zuerst, wenn du zu Go wechseln möchtest.',
641+
"Du hast derzeit OpenCode Black abonniert oder stehst auf der Warteliste. Bitte kündige zuerst, wenn du zu Go wechseln möchtest.",
641642
"workspace.lite.other.message":
642643
"Ein anderes Mitglied in diesem Workspace hat OpenCode Go bereits abonniert. Nur ein Mitglied pro Workspace kann abonnieren.",
643644
"workspace.lite.promo.description":

packages/console/app/src/i18n/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ export const dict = {
538538
"workspace.billing.loading": "Loading...",
539539
"workspace.billing.addAction": "Add",
540540
"workspace.billing.addBalance": "Add Balance",
541+
"workspace.billing.alipay": "Alipay",
541542
"workspace.billing.linkedToStripe": "Linked to Stripe",
542543
"workspace.billing.manage": "Manage",
543544
"workspace.billing.enable": "Enable Billing",

packages/console/app/src/i18n/es.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ export const dict = {
546546
"workspace.billing.loading": "Cargando...",
547547
"workspace.billing.addAction": "Añadir",
548548
"workspace.billing.addBalance": "Añadir Saldo",
549+
"workspace.billing.alipay": "Alipay",
549550
"workspace.billing.linkedToStripe": "Vinculado con Stripe",
550551
"workspace.billing.manage": "Gestionar",
551552
"workspace.billing.enable": "Habilitar Facturación",
@@ -639,7 +640,7 @@ export const dict = {
639640
"workspace.lite.subscription.selectProvider":
640641
'Selecciona "OpenCode Go" como proveedor en tu configuración de opencode para usar los modelos Go.',
641642
"workspace.lite.black.message":
642-
'Actualmente estás suscrito a OpenCode Black o estás en la lista de espera. Por favor, cancela la suscripción primero si deseas cambiar a Go.',
643+
"Actualmente estás suscrito a OpenCode Black o estás en la lista de espera. Por favor, cancela la suscripción primero si deseas cambiar a Go.",
643644
"workspace.lite.other.message":
644645
"Otro miembro de este espacio de trabajo ya está suscrito a OpenCode Go. Solo un miembro por espacio de trabajo puede suscribirse.",
645646
"workspace.lite.promo.description":

packages/console/app/src/i18n/fr.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@ export const dict = {
547547
"workspace.billing.loading": "Chargement...",
548548
"workspace.billing.addAction": "Ajouter",
549549
"workspace.billing.addBalance": "Ajouter un solde",
550+
"workspace.billing.alipay": "Alipay",
550551
"workspace.billing.linkedToStripe": "Lié à Stripe",
551552
"workspace.billing.manage": "Gérer",
552553
"workspace.billing.enable": "Activer la facturation",

packages/console/app/src/i18n/it.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ export const dict = {
544544
"workspace.billing.loading": "Caricamento...",
545545
"workspace.billing.addAction": "Aggiungi",
546546
"workspace.billing.addBalance": "Aggiungi Saldo",
547+
"workspace.billing.alipay": "Alipay",
547548
"workspace.billing.linkedToStripe": "Collegato a Stripe",
548549
"workspace.billing.manage": "Gestisci",
549550
"workspace.billing.enable": "Abilita Fatturazione",

packages/console/app/src/i18n/ja.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ export const dict = {
543543
"workspace.billing.loading": "読み込み中...",
544544
"workspace.billing.addAction": "追加",
545545
"workspace.billing.addBalance": "残高を追加",
546+
"workspace.billing.alipay": "Alipay",
546547
"workspace.billing.linkedToStripe": "Stripeと連携済み",
547548
"workspace.billing.manage": "管理",
548549
"workspace.billing.enable": "課金を有効にする",
@@ -637,7 +638,7 @@ export const dict = {
637638
"workspace.lite.subscription.selectProvider":
638639
"Go モデルを使用するには、opencode の設定で「OpenCode Go」をプロバイダーとして選択してください。",
639640
"workspace.lite.black.message":
640-
'現在 OpenCode Black を購読中、またはウェイティングリストに登録されています。Go に切り替える場合は、先に登録を解除してください。',
641+
"現在 OpenCode Black を購読中、またはウェイティングリストに登録されています。Go に切り替える場合は、先に登録を解除してください。",
641642
"workspace.lite.other.message":
642643
"このワークスペースの別のメンバーが既に OpenCode Go を購読しています。ワークスペースにつき1人のメンバーのみが購読できます。",
643644
"workspace.lite.promo.description":

0 commit comments

Comments
 (0)