From 6b3985b6be52063c09f779b6bc509bf84eedc660 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 23 Sep 2008 00:10:51 +0000 Subject: * luci/libs/cbi: - implement file upload fields - change default enctype in forms to multipart/form-data - add upload template * luci/libs/web: - dispatch file uploads to cbi form fields * luci/i18n: - add german and english translations for file upload fields --- i18n/english/luasrc/i18n/cbi.en.lua | 2 ++ i18n/english/luasrc/i18n/cbi.en.xml | 2 ++ 2 files changed, 4 insertions(+) (limited to 'i18n/english') diff --git a/i18n/english/luasrc/i18n/cbi.en.lua b/i18n/english/luasrc/i18n/cbi.en.lua index 42f93d4cc..14b184b9e 100644 --- a/i18n/english/luasrc/i18n/cbi.en.lua +++ b/i18n/english/luasrc/i18n/cbi.en.lua @@ -1,5 +1,6 @@ cbi_add = 'Add entry' cbi_del = 'Remove entry' +cbi_replace = 'Replace entry' cbi_invalid = 'Invalid input value' cbi_invalid_section = 'Validation failed: Please check any input fields for mistakes.' cbi_missing = 'This field is mandatory' @@ -12,3 +13,4 @@ cbi_manual = '-- custom --' cbi_select = '-- Please choose --' cbi_gorel = 'Go to relevant configuration page' cbi_applying = 'Applying changes' +cbi_upload = 'Uploaded File' diff --git a/i18n/english/luasrc/i18n/cbi.en.xml b/i18n/english/luasrc/i18n/cbi.en.xml index 4766ad155..c4843b1e7 100644 --- a/i18n/english/luasrc/i18n/cbi.en.xml +++ b/i18n/english/luasrc/i18n/cbi.en.xml @@ -4,6 +4,7 @@ Add entry Remove entry +Replace entry Invalid input value Validation failed: Please check any input fields for mistakes. This field is mandatory @@ -16,5 +17,6 @@ -- Please choose -- Go to relevant configuration page Applying changes +Uploaded File -- cgit v1.2.3