mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
[i18n] fixup
This commit is contained in:
@@ -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);
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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')},
|
||||
|
@@ -66,7 +66,7 @@ You've got {{num}} new notices on {{ site_name }}:
|
||||
<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;">
|
||||
|
@@ -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" />
|
||||
|
Reference in New Issue
Block a user