aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-08-31 06:32:54 +1000
committerGitHub <noreply@github.com>2016-08-31 06:32:54 +1000
commitb485d09847852efe935cd84f5f8f0ebf067c1f68 (patch)
treeca090d4dcb461dc46ba79d726c39cda388deeef6 /include/text.php
parent202b757bc46d17b324f79751ce754e16ba737386 (diff)
parentad5c93d6738d705b9ca196cc7481c26a3a9b9962 (diff)
downloadvolse-hubzilla-b485d09847852efe935cd84f5f8f0ebf067c1f68.tar.gz
volse-hubzilla-b485d09847852efe935cd84f5f8f0ebf067c1f68.tar.bz2
volse-hubzilla-b485d09847852efe935cd84f5f8f0ebf067c1f68.zip
Merge pull request #506 from anaqreon/website-export
Website export
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php16
1 files changed, 12 insertions, 4 deletions
diff --git a/include/text.php b/include/text.php
index a2a6d918b..99ac59ca7 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2267,11 +2267,11 @@ function design_tools() {
}
/**
- * @brief Creates website import tools menu
+ * @brief Creates website portation tools menu
*
* @return string
*/
-function website_import_tools() {
+function website_portation_tools() {
$channel = App::get_channel();
$sys = false;
@@ -2282,7 +2282,7 @@ function website_import_tools() {
$sys = true;
}
- return replace_macros(get_markup_template('website_import_tools.tpl'), array(
+ return replace_macros(get_markup_template('website_portation_tools.tpl'), array(
'$title' => t('Import'),
'$import_label' => t('Import website...'),
'$import_placeholder' => t('Select folder to import'),
@@ -2290,7 +2290,15 @@ function website_import_tools() {
'$file_import_text' => t('Import from cloud files:'),
'$desc' => t('/cloud/channel/path/to/folder'),
'$hint' => t('Enter path to website files'),
- '$select' => t('Select folder'),
+ '$select' => t('Select folder'),
+ '$export_label' => t('Export website...'),
+ '$file_download_text' => t('Export to a zip file'),
+ '$filename_desc' => t('website.zip'),
+ '$filename_hint' => t('Enter a name for the zip file.'),
+ '$cloud_export_text' => t('Export to cloud files'),
+ '$cloud_export_desc' => t('/path/to/export/folder'),
+ '$cloud_export_hint' => t('Enter a path to a cloud files destination.'),
+ '$cloud_export_select' => t('Specify folder'),
));
}