Skip to content

Commit

Permalink
[i18n] fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
llj committed Jan 24, 2024
1 parent 2b703ef commit 33f6426
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/search/ai-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export default class AISearch extends Component {

onDeleteIndex = () => {
seafileAPI.deleteLibraryIndex(this.props.repoID).then(res => {
toaster.notify(gettext('Successfully turned off'));
toaster.notify(gettext('Successfully turned it off'));
this.setState({ indexState: INDEX_STATE.UNCREATED });
}).catch(error => {
const errorMsg = Utils.getErrorMsg(error);
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/sys-admin/orgs/org-repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Content extends Component {
<tr>
<th width="5%"></th>
<th width="30%">{gettext('Name')}</th>
<th width="35%">{gettext('ID')}</th>
<th width="35%">{'ID'}</th>
<th width="20%">{gettext('Owner')}</th>
<th width="10%">{/* Operations */}</th>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/sys-admin/orgs/org-users.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Content extends Component {
<tr>
<th width="25%">{gettext('Name')}</th>
<th width="15%">{gettext('Status')}</th>
<th width="15%">{gettext('Membership')}</th>
<th width="15%">{gettext('Role')}</th>
<th width="15%">{gettext('Space Used')}</th>
<th width="25%">{gettext('Created At')}{' / '}{gettext('Last Login')}</th>
<th width="5%">{/* Operations */}</th>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/text-translation.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const TextTranslation = {
'CONVERT_TO_MARKDOWN' : {key : 'Convert to Markdown', value : gettext('Convert to Markdown')},
'CONVERT_TO_SDOC' : {key : 'Convert to sdoc', value : gettext('Convert to sdoc')},
'CONVERT_TO_DOCX' : {key : 'Convert to docx', value : gettext('Convert to docx')},
'EXPORT_DOCX' : {key : 'Export docx', value : gettext('Export docx')},
'EXPORT_DOCX' : {key : 'Export docx', value : gettext('Export as docx')},
'MARK_AS_DRAFT' : {key : 'Mark as draft', value : gettext('Mark as draft')},
'UNMARK_AS_DRAFT' : {key : 'Unmark as draft', value : gettext('Unmark as draft')},
'HISTORY' : {key : 'History', value : gettext('History')},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<p style="line-height:1.5; margin:.2em 10px .2em 0;">{% blocktrans with repo_url=notice.repo_url repo_name=notice.repo_name %}A large number of files in your library <a href="{{url_base}}{{ repo_url }}">{{ repo_name }}</a> has been deleted recently.{% endblocktrans %}</p>

{% elif notice.is_saml_sso_error_msg %}
<p style="line-height:1.5; margin:.2em 10px .2em 0;">{% blocktrans %}{{notice.error_msg}}{% endblocktrans %}</p>
<p style="line-height:1.5; margin:.2em 10px .2em 0;">{{notice.error_msg}}</p>

{% elif notice.is_repo_monitor_msg %}
<p style="line-height:1.5; margin:.2em 10px .2em 0;">
Expand Down
2 changes: 1 addition & 1 deletion seahub/templates/client_login_confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{% block main_content %}
<div class="new-narrow-panel">
<h2 class="hd">{% trans "Client Login Confirm" %}</h2>
<h2 class="hd">{% trans "Desktop Client Login Confirm" %}</h2>
<form action="" method="post" class="con">{% csrf_token %}
<label>{% trans "Do you want to login to your client?" %}</label><br />
<input type="submit" value="{% trans "Yes" %}" class="submit" />
Expand Down

0 comments on commit 33f6426

Please sign in to comment.