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

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrantje <brantje@gmail.com>2017-02-18 17:26:08 +0300
committerbrantje <brantje@gmail.com>2017-02-22 20:02:55 +0300
commit9e7f47a715724fc5cf01d5ddcf11a73b723d224c (patch)
treed5438b886c2481aa8c818a6f12cf032b5a616b1b /controller
parent3dd9e84de7c306dd6c543bd4e69432ff3935cbb4 (diff)
Add a generic CSV importer
Diffstat (limited to 'controller')
-rw-r--r--controller/translationcontroller.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/controller/translationcontroller.php b/controller/translationcontroller.php
index e87d73e7..5f24e211 100644
--- a/controller/translationcontroller.php
+++ b/controller/translationcontroller.php
@@ -74,7 +74,21 @@ class TranslationController extends ApiController {
'import.no.label' => $this->trans->t('Credential has no label, skipping'),
'import.adding' => $this->trans->t('Adding {{credential}}'),
'import.added' => $this->trans->t('Added {{credential}}'),
+ 'import.skipping' => $this->trans->t('Skipping credential, missing label on line {{line}}'),
'import.loaded' => $this->trans->t('Parsed {{num}} credentials, starting to import'),
+ 'import.importing' => $this->trans->t('Importing'),
+ 'import.start' => $this->trans->t('Start import'),
+
+ 'select.csv' => $this->trans->t('Select csv file'),
+ 'parsed.csv.rows' => $this->trans->t('Parsed {{rows}} lines from csv file'),
+ 'skip.first.row' => $this->trans->t('Skip first row'),
+ 'import.csv.label.req' => $this->trans->t('You need to assign the label field before you can start the import.'),
+ 'first.five.lines' => $this->trans->t('First 5 lines of the csv are shown.'),
+ 'assign.column' => $this->trans->t('Assign the proper fields to each column.'),
+ 'example.credential' => $this->trans->t('Example imported credential'),
+ 'missing.importer' => $this->trans->t('Missing an importer? Try it with the generic csv importer.'),
+ 'missing.importer.back' => $this->trans->t('Go back to importers.'),
+
// js/app/controllers/revision.js
'revision.deleted' => $this->trans->t('Revision deleted'),