Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-06-18 15:19:47 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-06-18 15:19:47 +0300
commit6e2f11954e1d154e3265a97504d783ac336f95ee (patch)
treea55f9c31a1a67fe98de56d7da35ab7bde9c9f871 /src
parent191e5de9d4157f70ed74d8f5ddbf795170a79b0a (diff)
Use nextcloud-l10n for translations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src')
-rw-r--r--src/ReplyBuilder.js2
-rw-r--r--src/components/ComposerAttachments.vue2
-rw-r--r--src/components/Moment.vue2
-rw-r--r--src/l10n/MailboxTranslator.js2
-rw-r--r--src/main.js2
-rw-r--r--src/service/NotificationService.js2
-rw-r--r--src/store/index.js2
-rw-r--r--src/util/ErrorMessageFactory.js2
8 files changed, 8 insertions, 8 deletions
diff --git a/src/ReplyBuilder.js b/src/ReplyBuilder.js
index 9661ad8aa..8cdf80eaf 100644
--- a/src/ReplyBuilder.js
+++ b/src/ReplyBuilder.js
@@ -22,7 +22,7 @@
import _ from 'lodash'
import moment from 'moment'
-import {getLocale} from 'nextcloud-server/dist/l10n'
+import {getLocale} from 'nextcloud-l10n'
moment.locale(getLocale())
diff --git a/src/components/ComposerAttachments.vue b/src/components/ComposerAttachments.vue
index 3e7195df2..1df43248b 100644
--- a/src/components/ComposerAttachments.vue
+++ b/src/components/ComposerAttachments.vue
@@ -47,7 +47,7 @@
<script>
import _ from 'lodash'
-import {translate as t} from 'nextcloud-server/dist/l10n'
+import {translate as t} from 'nextcloud-l10n'
import {pickFileOrDirectory} from 'nextcloud-server/dist/files'
import Vue from 'vue'
diff --git a/src/components/Moment.vue b/src/components/Moment.vue
index 8b6f80fa9..ca89181e6 100644
--- a/src/components/Moment.vue
+++ b/src/components/Moment.vue
@@ -3,7 +3,7 @@
</template>
<script>
-import {getLocale} from 'nextcloud-server/dist/l10n'
+import {getLocale} from 'nextcloud-l10n'
import moment from 'moment'
if (typeof OC !== 'undefined') {
diff --git a/src/l10n/MailboxTranslator.js b/src/l10n/MailboxTranslator.js
index c0e95476e..d444131a1 100644
--- a/src/l10n/MailboxTranslator.js
+++ b/src/l10n/MailboxTranslator.js
@@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-import {translate as t} from 'nextcloud-server/dist/l10n'
+import {translate as t} from 'nextcloud-l10n'
const translateSpecial = folder => {
if (folder.specialUse.includes('all')) {
diff --git a/src/main.js b/src/main.js
index 33d5838cc..311df6904 100644
--- a/src/main.js
+++ b/src/main.js
@@ -25,7 +25,7 @@ import App from './App'
import router from './router'
import store from './store'
import {sync} from 'vuex-router-sync'
-import {translate, translatePlural} from 'nextcloud-server/dist/l10n'
+import {translate, translatePlural} from 'nextcloud-l10n'
import {generateFilePath} from 'nextcloud-router'
import VueShortKey from 'vue-shortkey'
import VTooltip from 'v-tooltip'
diff --git a/src/service/NotificationService.js b/src/service/NotificationService.js
index 45586c58e..053e7c80c 100644
--- a/src/service/NotificationService.js
+++ b/src/service/NotificationService.js
@@ -20,7 +20,7 @@
*/
import _ from 'lodash'
-import {translate as t, translatePlural as n} from 'nextcloud-server/dist/l10n'
+import {translate as t, translatePlural as n} from 'nextcloud-l10n'
import {generateFilePath} from 'nextcloud-router'
/**
diff --git a/src/store/index.js b/src/store/index.js
index 21618bc05..e34e07ba5 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -20,7 +20,7 @@
*/
import _ from 'lodash'
-import {translate as t} from 'nextcloud-server/dist/l10n'
+import {translate as t} from 'nextcloud-l10n'
import Vue from 'vue'
import Vuex from 'vuex'
diff --git a/src/util/ErrorMessageFactory.js b/src/util/ErrorMessageFactory.js
index 91343903f..0aa7e5cfd 100644
--- a/src/util/ErrorMessageFactory.js
+++ b/src/util/ErrorMessageFactory.js
@@ -17,7 +17,7 @@
*
*/
-import {translate as t} from 'nextcloud-server/dist/l10n'
+import {translate as t} from 'nextcloud-l10n'
const smileys = [':-(', ':-/', ':-\\', ':-|', ":'-(", ":'-/", ":'-\\", ":'-|"]