From 2d3fabcc5b6c529dde77e1df1a43f5723da60a19 Mon Sep 17 00:00:00 2001
From: Brian Read These parameters will be effective only if the share is enabled. The share is in /home/e-smith/files/ibays/$(STASH:ibayname)/files
- %=l('Information Bay name'), class => 'label'
+ %=l('nfs_Information Bay name'), class => 'label'
%= stash("IbayName"), class => 'data'
- %=l('Share owner Group')
+ %=l('nfs_Share owner Group')
% my @ShareOwnerGrp_options = ['Write = admin, Read = group', 'Write = group, Read = everyone', 'Write = group, Read = group'];
% param 'ShareOwnerGrp' => $nfs_data->{ShareOwnerGrp} unless param 'ShareOwnerGrp';
@@ -29,7 +29,7 @@
- %=l('Enable the NFS Share')
+ %=l('nfs_Enable the NFS Share')
% my @EnableNFSshare_options = ['Disabled', 'Enabled'];
% param 'EnableNFSshare' => $nfs_data->{EnableNFSshare} unless param 'EnableNFSshare';
@@ -37,7 +37,7 @@
- %=l('EnableShare on local network')
+ %=l('nfs_EnableShare on local network')
% my @ShareOnLocalNetwork_options = ['Disabled', 'Enabled'];
% param 'ShareOnLocalNetwork' => $nfs_data->{ShareOnLocalNetwork} unless param 'ShareOnLocalNetwork';
@@ -45,14 +45,14 @@
For writing permissions,allowing the root user and using insecure ports, you must configure a list of one IP per line, being part of the local network(s).
- %=l('File system permissions')
+ %=l('nfs_File system permissions')
% my @FileSystemPermissions_options = ['Read only', 'Read and Write'];
% param 'FileSystemPermissions' => $nfs_data->{FileSystemPermissions} unless param 'FileSystemPermissions';
@@ -60,7 +60,7 @@
- %=l('Write (a)synchronously.')
+ %=l('nfs_Write (a)synchronously.')
% my @WriteAsync_options = ['Synchronous', 'Asynchronous'];
% param 'WriteAsync' => $nfs_data->{WriteAsync} unless param 'WriteAsync';
@@ -68,7 +68,7 @@
- %=l('Delays the disk writings.')
+ %=l('nfs_Delays the disk writings.')
% my @DelayWrite_options = ['Write delay', 'No write delay'];
% param 'DelayWrite' => $nfs_data->{DelayWrite} unless param 'DelayWrite';
@@ -76,7 +76,7 @@
- %=l('Squash the power of users.')
+ %=l('nfs_Squash the power of users.')
% my @Squash_options = ['All users squash', 'No root squash', 'root squash'];
% param 'Squash' => $nfs_data->{Squash} unless param 'Squash';
@@ -84,7 +84,7 @@
- %=l('Browse the parent folders')
+ %=l('nfs_Browse the parent folders')
% my @BrowseParents_options = ['Hide folder', 'Show folder'];
% param 'BrowseParents' => $nfs_data->{BrowseParents} unless param 'BrowseParents';
@@ -92,7 +92,7 @@
- %=l('Requests on secure ports.')
+ %=l('nfs_Requests on secure ports.')
% my @SecurePorts_options = ['Secure', 'Insecure'];
% param 'SecurePorts' => $nfs_data->{SecurePorts} unless param 'SecurePorts';
@@ -100,14 +100,14 @@
Set the uid and gid if you want all requests appear to be from one user or one group, otherwise leave blank.
- %=l('Set the UID.')
+ %=l('nfs_Set the UID.')
% param 'SetUID' => $nfs_data->{SetUID} unless param 'SetUID';
%= text_field 'SetUID', size => '50', class => 'input' , pattern=>'.*' , placeholder=>'SetUID'
- %=l('Set the GID.')
+ %=l('nfs_Set the GID.')
% param 'SetGID' => $nfs_data->{SetGID} unless param 'SetGID';
%= text_field 'SetGID', size => '50', class => 'input' , pattern=>'.*' , placeholder=>'SetGID'
diff --git a/Targets/nfsshare_en.lex b/Targets/nfsshare_en.lex
new file mode 100644
index 0000000..8b34ad9
--- /dev/null
+++ b/Targets/nfsshare_en.lex
@@ -0,0 +1,20 @@
+'nfs_APPLY' => 'APPLY'
+'nfs_Save' => 'Save'
+'nfs_Squash the power of users.' => 'Squash the power of users.'
+'nfs Hello PARAMS' => 'Hello PARAMS'
+'nfs_Requests on secure ports.' => 'Requests on secure ports.'
+'nfs_Error message' => 'Error message'
+'nfs_Enable the NFS Share' => 'Enable the NFS Share'
+'nfs_NFS data share' => 'NFS data share'
+'nfs_Delays the disk writings.' => 'Delays the disk writings.'
+'nfs_Browse the parent folders' => 'Browse the parent folders'
+'nfs_Write (a)synchronously.' => 'Write (a)synchronously.'
+'nfs_NFS Client(s) allowed' => 'NFS Client(s) allowed'
+'nfs_EnableShare on local network' => 'EnableShare on local network'
+'nfs_Information Bay name' => 'Information Bay name'
+'nfs_ok message' => 'ok message'
+'nfs_Set the GID.' => 'Set the GID.'
+'nfs_Share owner Group' => 'Share owner Group'
+'nfs Hello TABLE' => 'Hello TABLE'
+'nfs_Set the UID.' => 'Set the UID.'
+'nfs_File system permissions' => 'File system permissions'
diff --git a/Templates/controller.pm.tem b/Templates/controller.pm.tem
index d76f8c1..6f6daf1 100644
--- a/Templates/controller.pm.tem
+++ b/Templates/controller.pm.tem
@@ -87,7 +87,7 @@ sub do_update {
Manage NFS Ibay settings:
@@ -36,7 +36,7 @@