-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cops: Use mustache to generate wizards
- Loading branch information
Showing
7 changed files
with
65 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[{ | ||
"step_title": "{{{COPS_CONFIGURATION_FIRST_STEP_TITLE}}}", | ||
"items": [{ | ||
"type": "textfield", | ||
"desc": "{{{EXISTING_CALIBRE_DIRECTORY_DESCRIPTION}}}", | ||
"subitems": [{ | ||
"key": "wizard_calibre_dir", | ||
"defaultValue": "/volume1/calibre/", | ||
"desc": "{{{EXISTING_CALIBRE_DIRECTORY_LABEL}}}" | ||
}] | ||
}, { | ||
"type": "textfield", | ||
"desc": "{{{COPS_CATALOG_TITLE_DESCRIPTION}}}", | ||
"subitems": [{ | ||
"key": "wizard_cops_title", | ||
"defaultValue": "COPS", | ||
"desc": "{{{COPS_CATALOG_TITLE_LABEL}}}" | ||
}] | ||
}] | ||
},{ | ||
"step_title": "{{{COPS_CONFIGURATION_SECOND_STEP_TITLE}}}", | ||
"items": [{ | ||
"type": "multiselect", | ||
"desc": "{{{DO_YOU_WANT_TO_USE_COPS_WITH_A_KOBO_DESCRIPTION}}}", | ||
"subitems": [{ | ||
"key": "wizard_use_url_rewriting", | ||
"desc": "{{{DO_YOU_WANT_TO_USE_COPS_WITH_A_KOBO_LABEL}}}" | ||
}] | ||
}] | ||
},{ | ||
"step_title": "{{{DSM_PERMISSIONS_TITLE}}}", | ||
"items": [ | ||
{ | ||
"desc": "{{{DSM_PERMISSIONS_TEXT}}}" | ||
} | ||
] | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
COPS_CONFIGURATION_FIRST_STEP_TITLE: "COPS configuration" | ||
|
||
EXISTING_CALIBRE_DIRECTORY_DESCRIPTION: "Existing Calibre library directory. WARNING: has to end with a / and never use your web directory" | ||
EXISTING_CALIBRE_DIRECTORY_LABEL: "Calibre directory" | ||
COPS_CATALOG_TITLE_DESCRIPTION: "Catalog title." | ||
COPS_CATALOG_TITLE_LABEL: "Catalog title" | ||
|
||
COPS_CONFIGURATION_SECOND_STEP_TITLE: "COPS configuration (next)" | ||
DO_YOU_WANT_TO_USE_COPS_WITH_A_KOBO_DESCRIPTION: "Do you want to use COPS with a Kobo eReader?" | ||
DO_YOU_WANT_TO_USE_COPS_WITH_A_KOBO_LABEL: "Kobo" | ||
|
||
DSM_PERMISSIONS_TITLE: "Attention! DSM Permissions" | ||
DSM_PERMISSIONS_TEXT: "Permissions are managed with the group <b>http</b> in DSM.<br>The group 'users' is no longer used as of DSM 6.<br>Package user (= sc-cops) will not appear on most UI settings.<br>Including the following:<br>- Application privilege's permission viewer<br>- FPT's chroot user selector<br>- File Stations's<br>- Change owner<br>- Shared Links Manager -> Enable secure sharing<br><br>The only exceptions are:<br>- Control Panel > Shared Folder > Edit > Permission > System internal user<br>- ACL editor<br>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
COPS_CONFIGURATION_FIRST_STEP_TITLE: "Configuration de COPS" | ||
|
||
EXISTING_CALIBRE_DIRECTORY_DESCRIPTION: "Répertoire existant contenant une bibliothèque Calibre. Attention : doit se terminer par un / et ne jamais utiliser le répertoire web." | ||
EXISTING_CALIBRE_DIRECTORY_LABEL: "Répertoire contenant Calibre" | ||
COPS_CATALOG_TITLE_DESCRIPTION: "Titre du catalogue." | ||
COPS_CATALOG_TITLE_LABEL: "Titre du catalogue" | ||
|
||
COPS_CONFIGURATION_SECOND_STEP_TITLE: "Configuration de COPS (suite)" | ||
DO_YOU_WANT_TO_USE_COPS_WITH_A_KOBO_DESCRIPTION: "Voulez vous utiliser COPS avec votre liseuse Kobo ?" | ||
DO_YOU_WANT_TO_USE_COPS_WITH_A_KOBO_LABEL: "Kobo" | ||
|
||
DSM_PERMISSIONS_TITLE: "Attention! DSM Permissions" | ||
DSM_PERMISSIONS_TEXT: "Les autorisations sont gérées avec le groupe <b>http</b> dans DSM.<br>Le groupe 'utilisateurs' n'est plus utilisé à partir de DSM 6.<br>L'utilisateur du paquet (= sc-cops) n'apparaîtra pas sur la plupart des paramètres d'interface utilisateur. Y compris ce qui suit: <br>- Afficheur d'autorisation de privilège d'application <br>- Sélecteur d'utilisateur chroot FPT <br>- File Stations's- Changer de propriétaire <br>- Shared Links Manager -> Activer le partage sécurisé <br><br>Les seules exceptions sont: <br>- Panneau de configuration> Dossier partagé> Edition> Autorisation> Utilisateur interne du système <br>- Éditeur ACL" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.