Skip to content

Commit

Permalink
Add a translation
Browse files Browse the repository at this point in the history
  • Loading branch information
pavish committed Nov 22, 2023
1 parent 7b88d80 commit d3a671c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions mathesar_ui/src/i18n/languages/en/dict.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"copy_and_paste_text": "Copy and Paste Text",
"create_a_table_by_importing": "Create a table by importing your data",
"data_source": "Data Source",
"edit_user": "Edit User",
"import": "Import",
"large_data_takes_time_warning": "Large data sets can sometimes take several minutes to process. Please do not leave this page or close the browser tab while the import is in progress.",
"linking_table": "Linking Table",
Expand Down
3 changes: 2 additions & 1 deletion mathesar_ui/src/pages/admin-users/EditUserPage.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import { router } from 'tinro';
import { _ } from 'svelte-i18n';
import { Icon, SpinnerButton } from '@mathesar-component-library';
import { iconDeleteMajor, iconEditUser } from '@mathesar/icons';
import {
Expand Down Expand Up @@ -65,7 +66,7 @@
/>
<h1>
<Icon {...iconEditUser} />
Edit User: <strong>{userModel.username}</strong>
{$_('edit_user')}: <strong>{userModel.username}</strong>
</h1>
<FormBox>
<UserDetailsForm user={userModel.getUser()} on:update={onUserUpdate} />
Expand Down

0 comments on commit d3a671c

Please sign in to comment.