Skip to content

Commit

Permalink
Add missing translations and adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 17, 2023
1 parent 0f2fed8 commit a6a6e5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion frontend/src/lib/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"show_delete_projects": "Show deleted projects",
"filter_placeholder": "Search...",
"project_filter": {
"title": "Project filters",
"select_user_from_table": "To filter projects for a specific user, select the user from the user table:",
"project_member": "Project member",
"all_users": "All users",
Expand Down Expand Up @@ -127,7 +128,8 @@ the [Linguistics Institute at Payap University](https://li.payap.ac.th/) in Chia
"project": {
"create": {
"title": "Create Project",
"code": "Project Code",
"code": "Code",
"type": "Type",
"code_exists": "Project code already used",
"code_too_short": "Project code must be at least 4 characters",
"custom_code": "Custom Code",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async function softDeleteProject(project: Project): Promise<void> {
{/each}
</svelte:fragment>
<svelte:fragment slot="filters">
<h2 class="card-title">Project filters</h2>
<h2 class="card-title">{$t('admin_dashboard.project_filter.title')}</h2>
<FormField label={$t('admin_dashboard.project_filter.project_member')}>
{#if $filters.userEmail}
<div class="join" use:bubbleFocusOnDestroy>
Expand Down

0 comments on commit a6a6e5e

Please sign in to comment.