Translatable strings

This commit is contained in:
Bob Mottram 2016-07-18 09:54:22 +01:00
parent 9a526a9f26
commit 17326a0cff
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 4 additions and 2 deletions

View File

@ -56,6 +56,8 @@ MY_BLOG_STR=$"My Blog"
MY_MAIL_STR=$"My Mail" MY_MAIL_STR=$"My Mail"
MY_FORUM_STR=$"My Forum" MY_FORUM_STR=$"My Forum"
MY_ID_STR=$"My ID Service" MY_ID_STR=$"My ID Service"
YOUR_SITES_STR=$'Your Sites'
ON_THE_MESH_STR=$'On the Mesh'
BLOGS_STR=$"Blogs" BLOGS_STR=$"Blogs"
MAIL_STR=$"Mail" MAIL_STR=$"Mail"
@ -152,7 +154,7 @@ function create_index {
echo '<body>' >> $ZERONET_INDEX echo '<body>' >> $ZERONET_INDEX
echo "<H1>$WEB_PAGE_TITLE</H1>" >> $ZERONET_INDEX echo "<H1>$WEB_PAGE_TITLE</H1>" >> $ZERONET_INDEX
echo '' >> $ZERONET_INDEX echo '' >> $ZERONET_INDEX
echo "<H2>Your Sites</H2>" >> $ZERONET_INDEX echo "<H2>${YOUR_SITES_STR}</H2>" >> $ZERONET_INDEX
echo '' >> $ZERONET_INDEX echo '' >> $ZERONET_INDEX
echo '<ol type="square">' >> $ZERONET_INDEX echo '<ol type="square">' >> $ZERONET_INDEX
echo " <li><a href=\"${blogaddress}\">${MY_BLOG_STR}</a></li>" >> $ZERONET_INDEX echo " <li><a href=\"${blogaddress}\">${MY_BLOG_STR}</a></li>" >> $ZERONET_INDEX
@ -162,7 +164,7 @@ function create_index {
# echo " <li><a href=\"http://localhost:5001/webui\">File Share</a></li>" >> $ZERONET_INDEX # echo " <li><a href=\"http://localhost:5001/webui\">File Share</a></li>" >> $ZERONET_INDEX
echo '</ol>' >> $ZERONET_INDEX echo '</ol>' >> $ZERONET_INDEX
echo '' >> $ZERONET_INDEX echo '' >> $ZERONET_INDEX
echo "<H2>On the Mesh</H2>" >> $ZERONET_INDEX echo "<H2>${ON_THE_MESH_STR}</H2>" >> $ZERONET_INDEX
echo '' >> $ZERONET_INDEX echo '' >> $ZERONET_INDEX
echo '<ol type="square">' >> $ZERONET_INDEX echo '<ol type="square">' >> $ZERONET_INDEX
echo " <li><a href=\"${BLOGS_FILE}.html\">${BLOGS_STR}</a></li>" >> $ZERONET_INDEX echo " <li><a href=\"${BLOGS_FILE}.html\">${BLOGS_STR}</a></li>" >> $ZERONET_INDEX