Fix translation recognition for translation tool

These translations were not recognized, since (currently)
the translation tool doesn't allow for any symbols between
the opening bracket and the first quotation mark.

Signed-off-by: Philipp Fischbeck <philipp.fischbeck@hpi.de>
This commit is contained in:
Philipp Fischbeck 2019-10-26 18:06:12 +02:00 committed by Marcel Klehr
parent 40771a0edd
commit a78c95338e
4 changed files with 14 additions and 28 deletions

View File

@ -47,8 +47,7 @@
</Actions>
<div v-if="selection.length" class="breadcrumbs__bulkediting">
{{
n(
'bookmarks',
n('bookmarks',
'Selected %n bookmark',
'Selected %n bookmarks',
selection.length

View File

@ -36,23 +36,20 @@ export default {
title() {
if (this.selection.folders.length) {
if (this.selection.bookmarks.length) {
return n(
'bookmarks',
return n('bookmarks',
'Moving %n folder and some bookmarks',
'Moving %n folders and some bookmarks',
this.selection.folders.length
)
} else {
return n(
'bookmarks',
return n('bookmarks',
'Moving %n folder',
'Moving %n folders',
this.selection.folders.length
)
}
} else {
return n(
'bookmarks',
return n('bookmarks',
'Moving %n bookmark',
'Moving %n bookmarks',
this.selection.bookmarks.length

View File

@ -30,8 +30,7 @@
<label>{{ t('bookmarks', 'RSS Feed') }}
<input
v-tooltip="
t(
'bookmarks',
t('bookmarks',
'This is an RSS feed of the current result set with access restricted to you.'
)
"
@ -43,8 +42,7 @@
<label>{{ t('bookmarks', 'Clear data') }}
<button
v-tooltip="
t(
'bookmarks',
t('bookmarks',
'Permanently remove all bookmarks from your account. There is no going back!'
)
"
@ -58,8 +56,7 @@
<label>{{ t('bookmarks', 'Bookmarklet') }}
<a
v-tooltip="
t(
'bookmarks',
t('bookmarks',
'Drag this to your browser bookmarks and click it to quickly bookmark a webpage'
)
"
@ -74,8 +71,7 @@
<p>
{{
t(
'bookmarks',
t('bookmarks',
'Also check out the collection of client apps that integrate with this app: '
)
}}

View File

@ -5,8 +5,7 @@
<h2>{{ t('bookmarks', 'Previews') }}</h2>
<p>
{{
t(
'bookmarks',
t('bookmarks',
'In order to display real screenshots of your bookmarked websites, Bookmarks can use a third-party service to generate those.'
)
}}
@ -14,8 +13,7 @@
<h3>{{ t('bookmarks', 'Screeenly') }}</h3>
<p>
{{
t(
'bookmarks',
t('bookmarks',
'You can either sign up for free at screeenly.com or setup your own server.'
)
}}
@ -37,8 +35,7 @@
<h2>{{ t('bookmarks', 'Privacy') }}</h2>
<p>
{{
t(
'bookmarks',
t('bookmarks',
'Bookmarks will try to access web pages that you add to automatically add information about them.'
)
}}
@ -51,8 +48,7 @@
class="checkbox"
@input="onChange">
<label for="enableScraping">{{
t(
'bookmarks',
t('bookmarks',
'Enable accessing and collecting information from the web pages you add'
)
}}</label>
@ -60,16 +56,14 @@
<h2>{{ t('bookmarks', 'Performance') }}</h2>
<p>
{{
t(
'bookmarks',
t('bookmarks',
'In an installation with a lot of users it may be useful to restrict the number of bookmarks per account.'
)
}}
</p>
<p>
<label for="enableScraping">{{
t(
'bookmarks',
t('bookmarks',
'Maximum allowed number of bookmarks per account. (0 for no limit; default is no limit)'
)
}}