fix translation for license in privacy section. fixes #26
This commit is contained in:
parent
519a89230a
commit
49360a8c69
|
@ -31,9 +31,7 @@ class HomeController < ApplicationController
|
||||||
@title = I18n.t 'controllers.home_controller.privacytitle'
|
@title = I18n.t 'controllers.home_controller.privacytitle'
|
||||||
render :action => "privacy"
|
render :action => "privacy"
|
||||||
rescue
|
rescue
|
||||||
render :text => "<div class=\"box wide\">" <<
|
render :text => I18n.t('controllers.home_controller.licensetext'), :layout => "application"
|
||||||
"Toutes les actions sur le site sont publiques à l'exception des messages privés entre utilisateurs. Les actions de modération peuvent être consultées via le <a href=\"/moderations\">Journal de modération</a>.<br/><a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"><img alt=\"Licence Creative Commons\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by/4.0/88x31.png\" /></a><br /><span xmlns:dct=\"http://purl.org/dc/terms/\" property=\"dct:title\">Le Journal du hacker</span> est mis à disposition selon les termes de la <a rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\">licence Creative Commons Attribution 4.0 International</a>." <<
|
|
||||||
"</div>", :layout => "application"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -341,7 +341,7 @@ en:
|
||||||
threadstitle: "Your Threads"
|
threadstitle: "Your Threads"
|
||||||
filters_controller:
|
filters_controller:
|
||||||
filterstitle: "Tag Filters"
|
filterstitle: "Tag Filters"
|
||||||
home_controllers:
|
home_controller:
|
||||||
recenttitle: "Recent Stories"
|
recenttitle: "Recent Stories"
|
||||||
abouttitle: "About"
|
abouttitle: "About"
|
||||||
chattitle: "Chat"
|
chattitle: "Chat"
|
||||||
|
@ -350,6 +350,7 @@ en:
|
||||||
rssforstoriestitle: "RSS 2.0"
|
rssforstoriestitle: "RSS 2.0"
|
||||||
rssforcommentstitle: "Comments - RSS 2.0"
|
rssforcommentstitle: "Comments - RSS 2.0"
|
||||||
neweststoriestitle: "Newest Stories"
|
neweststoriestitle: "Newest Stories"
|
||||||
|
licensetext: "<div class=\"box wide\">You have no privacy.</div>"
|
||||||
messages_controller:
|
messages_controller:
|
||||||
messagestitle: "Messages"
|
messagestitle: "Messages"
|
||||||
messagessenttitle: "Messages Sent"
|
messagessenttitle: "Messages Sent"
|
||||||
|
|
|
@ -363,6 +363,7 @@ fr:
|
||||||
rssforstoriestitle: "RSS 2.0"
|
rssforstoriestitle: "RSS 2.0"
|
||||||
rssforcommentstitle: "Commentaires - RSS 2.0"
|
rssforcommentstitle: "Commentaires - RSS 2.0"
|
||||||
neweststoriestitle: "Dernières infos"
|
neweststoriestitle: "Dernières infos"
|
||||||
|
licensetext: "<div class=\"box wide\">Toutes les actions sur le site sont publiques à l'exception des messages privés entre utilisateurs. Les actions de modération peuvent être consultées via le <a href=\"/moderations\">Journal de modération</a>.<br/><a rel=\"license\" href=\"https://creativecommons.org/licenses/by/4.0/deed.fr\"><img alt=\"Licence Creative Commons\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by/4.0/88x31.png\" /></a><br /><span xmlns:dct=\"http://purl.org/dc/terms/\" property=\"dct:title\">Le Journal du hacker</span> est mis à disposition selon les termes de la <a rel=\"license\" href=\"https://creativecommons.org/licenses/by/4.0/deed.fr\">licence Creative Commons Attribution 4.0 International</a>.</div>"
|
||||||
messages_controller:
|
messages_controller:
|
||||||
messagestitle: "Messages"
|
messagestitle: "Messages"
|
||||||
messagessenttitle: "Messages envoyés"
|
messagessenttitle: "Messages envoyés"
|
||||||
|
|
Loading…
Reference in a new issue