mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 09:19:51 +00:00
Merge pull request #417 from Andeveling/fix/i18n-settings-overview-roles
fix(i18n): settings-overview role namespace, scopesHint rich-tag, and role SelectValue from #375
This commit is contained in:
commit
ff2fb06181
@ -1600,7 +1600,7 @@
|
||||
"nameLabel": "Name",
|
||||
"namePlaceholder": "e.g. Zapier automation",
|
||||
"scopesLabel": "Scopes",
|
||||
"scopesHint": "A key with no scopes can still call <code className=\"text-[11px]\">GET /api/v1/me</code> to verify it works.",
|
||||
"scopesHint": "A key with no scopes can still call <code>GET /api/v1/me</code> to verify it works.",
|
||||
"cancel": "Cancel",
|
||||
"creating": "Creating…",
|
||||
"createKey": "Create key",
|
||||
|
||||
@ -1598,7 +1598,7 @@
|
||||
"nameLabel": "이름",
|
||||
"namePlaceholder": "예: Zapier 자동화",
|
||||
"scopesLabel": "권한 범위",
|
||||
"scopesHint": "권한 범위가 없는 키도 <code className=\"text-[11px]\">GET /api/v1/me</code>를 호출해 동작을 확인할 수 있습니다.",
|
||||
"scopesHint": "권한 범위가 없는 키도 <code>GET /api/v1/me</code>를 호출해 동작을 확인할 수 있습니다.",
|
||||
"cancel": "취소",
|
||||
"creating": "만드는 중…",
|
||||
"createKey": "키 생성",
|
||||
|
||||
@ -274,7 +274,7 @@ export function InviteMemberDialog({
|
||||
onValueChange={(v) => v && setRole(v as InviteRole)}
|
||||
>
|
||||
<SelectTrigger className="w-full bg-muted border-border text-foreground">
|
||||
<SelectValue />
|
||||
<SelectValue>{tRoles(role)}</SelectValue>
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="admin">{tRoles('admin')}</SelectItem>
|
||||
|
||||
@ -428,7 +428,7 @@ export function MembersTab() {
|
||||
className="w-32 bg-muted border-border text-foreground"
|
||||
disabled={isBusy}
|
||||
>
|
||||
<SelectValue />
|
||||
<SelectValue>{tRoles(member.role)}</SelectValue>
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
{EDITABLE_ROLES.map((r) => (
|
||||
|
||||
@ -40,7 +40,7 @@ export function SettingsOverview({
|
||||
useAuth();
|
||||
const { mode, theme } = useTheme();
|
||||
const t = useTranslations('Settings.overview');
|
||||
const tRoles = useTranslations('roles');
|
||||
const tRoles = useTranslations('Settings.roles');
|
||||
const tSections = useTranslations('Settings.sections');
|
||||
|
||||
const [counts, setCounts] = useState<OverviewCounts | null>(null);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user