Archived
1
0

more internationalization

This commit is contained in:
Jeff Becker 2017-10-17 08:06:50 -04:00
parent 24a25d5e20
commit 123057d608
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
14 changed files with 25 additions and 23 deletions

View File

@ -3,8 +3,8 @@
template parameters: template parameters:
- prefix (the site prefix) - prefix (the site prefix)
}} }}
<!doctype html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<title> 404 </title> <title> 404 </title>
<meta charset="utf-8" /> <meta charset="utf-8" />

View File

@ -12,8 +12,8 @@
- Threads ( a list of Thread Models with the last few replies ) - Threads ( a list of Thread Models with the last few replies )
}} }}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> "http://www.w3.org/TR/html4/strict.dtd>"
<html prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head> <head>
<title>{{board.Board}}</title> <title>{{board.Board}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />

View File

@ -5,10 +5,12 @@
- frontend ( the name of the frontend ) - frontend ( the name of the frontend )
- prefix ( the site's prefix ) - prefix ( the site's prefix )
}} }}
<!doctype html> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
<html> "http://www.w3.org/TR/html4/strict.dtd>"
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head> <head>
<link rel="stylesheet" href="{{prefix}}static/krane.css"></link> <link rel="stylesheet" href="{{prefix}}static/krane.css"></link>
<link rel="stylesheet" href="{{prefix}}static/user.css"></link>
<title> {{frontend}} {{#i18n.Translations}}{{board_list_title}}{{/i18n.Translations}} </title> <title> {{frontend}} {{#i18n.Translations}}{{board_list_title}}{{/i18n.Translations}} </title>
<meta property="og:site_name" content="changolia" /> <meta property="og:site_name" content="changolia" />
<meta property="og:type" content="website"/> <meta property="og:type" content="website"/>
@ -17,7 +19,6 @@
<meta property="og:description" content="changolia board list on {{frontend}}"/> <meta property="og:description" content="changolia board list on {{frontend}}"/>
<meta property="og:image" <meta property="og:image"
content="{{prefix}}static/changolia-logo.png"/> content="{{prefix}}static/changolia-logo.png"/>
</head> </head>
<body> <body>
<center> <center>

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1" /> <meta name="viewport" content="initial-scale=1" />

View File

@ -11,7 +11,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> "http://www.w3.org/TR/html4/strict.dtd">
<html prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head> <head>
<link rel="stylesheet" href="{{prefix}}static/krane.css" /> <link rel="stylesheet" href="{{prefix}}static/krane.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" /> <link rel="stylesheet" href="{{prefix}}static/user.css" />

View File

@ -7,7 +7,7 @@
- tripcode ( html version of the public key ) - tripcode ( html version of the public key )
}} }}
<!doctype html> <!doctype html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<meta charset="utf-8"></meta> <meta charset="utf-8"></meta>
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}static/site.css" />

View File

@ -4,7 +4,7 @@
- prefix ( site prefix ) - prefix ( site prefix )
}} }}
<!doctype html> <!doctype html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<title> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </title> <title> {{#i18n.Translations}}{{overboard_title}}{{/i18n.Translations}} </title>
<meta charset="utf-8" /> <meta charset="utf-8" />

View File

@ -5,7 +5,7 @@
}} }}
<!doctype html> <!doctype html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}static/site.css" />
<link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" /> <link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" />

View File

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}static/krane.css" />
<link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" /> <link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" />
<title>{{#i18n.Translations}}{{login}}{{/i18n.Translations}}</title> <title>{{#i18n.Translations}}{{login}}{{/i18n.Translations}}</title>
</head> </head>

View File

@ -7,9 +7,9 @@
- fail ( present if the login failed ) // not yet added - fail ( present if the login failed ) // not yet added
}} }}
<!doctype html> <!doctype html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}static/krane.css" />
<link rel="stylesheet" href="{{prefix}}static/user.css" /> <link rel="stylesheet" href="{{prefix}}static/user.css" />
<meta http-equiv="refresh" content="1; {{mod_prefix}}"></meta> <meta http-equiv="refresh" content="1; {{mod_prefix}}"></meta>
<title>{{#i18n.Translations}}{{login}}{{/i18n.Translations}}</title> <title>{{#i18n.Translations}}{{login}}{{/i18n.Translations}}</title>

View File

@ -5,9 +5,9 @@
}} }}
<!doctype html> <!doctype html>
<html> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<link rel="stylesheet" href="{{prefix}}static/site.css" /> <link rel="stylesheet" href="{{prefix}}static/krane.css" />
<link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" /> <link id="current_theme" rel="stylesheet" href="{{prefix}}static/user.css" />
<!-- yes it uses js --> <!-- yes it uses js -->
<script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script> <script type="text/javascript" src="{{prefix}}static/nntpchan.js"></script>

View File

@ -1,4 +1,5 @@
<html> <!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}">
<head> <head>
<title>{{#i18n.Translations}}{{new_board_title}}{{/i18n.Translations}}</title> <title>{{#i18n.Translations}}{{new_board_title}}{{/i18n.Translations}}</title>
<link rel="stylesheet" href="{{prefix}}static/krane.css" /> <link rel="stylesheet" href="{{prefix}}static/krane.css" />

View File

@ -12,7 +12,7 @@
}} }}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd>" "http://www.w3.org/TR/html4/strict.dtd>"
<html prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head> <head>
<title>{{board.Board}}</title> <title>{{board.Board}}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">

View File

@ -6,8 +6,8 @@
}} }}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> "http://www.w3.org/TR/html4/strict.dtd>"
<html prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml"> <html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
<head> <head>
<title>overboard</title> <title>overboard</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8">