diff --git a/contrib/templates/default/inst_api.mustache b/contrib/templates/default/inst_api.mustache new file mode 100644 index 0000000..908d104 --- /dev/null +++ b/contrib/templates/default/inst_api.mustache @@ -0,0 +1,64 @@ + + + + + + + + {{#i18n.Translations}}{{api_install_title}}{{/i18n.Translations}} + + +
{{#i18n.Translations}}{{api_install_title}}{{/i18n.Translations}}
+ {{#dialog.HasError}} +

{{dialog.Error}}

+ {{/dialog.HasError}} +
+
+
+ + + + + + + + + + + + + + + +
+ {{#i18n.Translations}}{{api_username}}{{/i18n.Translations}} + + +
+ {{#i18n.Translations}}{{api_password_name}}{{/i18n.Translations}} + + +
+ {{#i18n.Translations}}{{api_secret_name}}{{/i18n.Translations}} + + +
+
+ {{#dialog.HasNext}} + + {{/dialog.HasNext}} + {{^dialog.HasNext}} + + {{/dialog.HasNext}} +
+
+ {{#dialog.HasPrevious}} +
+
+ + +
+
+ {{/dialog.HasPrevious}} + + diff --git a/contrib/templates/default/inst_frontend.mustache b/contrib/templates/default/inst_frontend.mustache new file mode 100644 index 0000000..7535dfe --- /dev/null +++ b/contrib/templates/default/inst_frontend.mustache @@ -0,0 +1,72 @@ + + + + + + + + {{#i18n.Translations}}{{frontend_install_title}}{{/i18n.Translations}} + + +
{{#i18n.Translations}}{{frontend_install_title}}{{/i18n.Translations}}
+ {{#dialog.HasError}} +

{{dialog.Error}}

+ {{/dialog.HasError}} +
+
+
+ + + + + + + + + + + + + + + + + + + +
+ {{#i18n.Translations}}{{frontend_name}}{{/i18n.Translations}} + + +
+ {{#i18n.Translations}}{{locale_name}}{{/i18n.Translations}} + + +
+ {{#i18n.Translations}}{{allow_files_prompt}}{{/i18n.Translations}} + + +
+ {{#i18n.Translations}}{{enable_json_prompt}}{{/i18n.Translations}} + + +
+
+ {{#dialog.HasNext}} + + {{/dialog.HasNext}} + {{^dialog.HasNext}} + + {{/dialog.HasNext}} +
+
+ {{#dialog.HasPrevious}} +
+
+ + +
+
+ {{/dialog.HasPrevious}} + + diff --git a/contrib/templates/default/inst_key.mustache b/contrib/templates/default/inst_key.mustache new file mode 100644 index 0000000..5f932ea --- /dev/null +++ b/contrib/templates/default/inst_key.mustache @@ -0,0 +1,56 @@ + + + + + + + + {{#i18n.Translations}}{{key_install_title}}{{/i18n.Translations}} + + +
{{#i18n.Translations}}{{key_install_title}}{{/i18n.Translations}}
+ {{#dialog.HasError}} +

{{dialog.Error}}

+ {{/dialog.HasError}} +
+
+
+ + + + + + + + + + + +
+ {{#i18n.Translations}}{{pubkey_name}}{{/i18n.Translations}} + + +
+ {{#i18n.Translations}}{{secretkey_name}}{{/i18n.Translations}} + + +
+
+ {{#dialog.HasNext}} + + {{/dialog.HasNext}} + {{^dialog.HasNext}} + + {{/dialog.HasNext}} +
+
+ {{#dialog.HasPrevious}} +
+
+ + +
+
+ {{/dialog.HasPrevious}} + + diff --git a/contrib/translations/en-US.ini b/contrib/translations/en-US.ini index 5b53f3a..eae395c 100644 --- a/contrib/translations/en-US.ini +++ b/contrib/translations/en-US.ini @@ -120,7 +120,7 @@ posted_on_label=Posted on #404 page resource_not_found=The page you are looking for isn't here -#installer +#'installer db_install_title=Choose a database redis_name=Redis postgres_name=PostgreSQL @@ -129,3 +129,45 @@ next_prompt=Next > previous_prompt=< Previous finish_prompt=Finish! +redis_db_install_title=Please enter the connection details for Redis +postgres_db_install_title=Please enter the connection details for PostgreSQL +crypto_install_title=TLS settings +host_name=Hostname or IP address +key_name=TLS keyname +port_name=Port number +username_name=Username +password_name=Password + +nntp_install_title=Configure the NNTP settings +nntp_name=Name of the NNTP instance +allow_attachments_prompt=Allow attachments +allow_anon_prompt=Allow anonymous posters +allow_anon_attachments_prompt=Allow attachments from anonymous posters +require_tls_prompt=Require TLS for incoming connections + +binary_install_title=Configure the path of the external programs +convert_prompt=convert path +ffmpeg_prompt=ffmpeg path +sox_prompt=sox path + +cache_install_title=Please choose the mechanism by which the HTML pages are cached +null_cache_name=None +file_cache_name=Static files +redis_cache_name=Redis + +frontend_install_title=Frontend settings +frontend_name=Name +locale_name=Locale +allow_files_prompt=Allow file uploads +enable_json_prompt=Enable the JSON API + +api_install_title=API settings +api_username=API username +api_password_name=API password +api_secret_name=API secret + +pubkey_name=Public key +secretkey_name=Secret key +key_install_title=A new keypair has been generated for you. Please keep it safe and don't share it with anyone, as this is used to login to the mod panel +#' +