-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
1,926 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
3d0255b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function send_doctype()
/**
*/
// '?:' accepts first truthy value. As of PHP 7.4
// Eventually, will always be 'utc-8'.
$charset = ( translate ( 'charset' ) ?: 'utc-8' );
// todo: Rename 'translation/*.txt' files to 'navigator.language' format.
// todo: Only copy the user's 'navigator.languages' files from
// 'translations/', 'captcha/', 'ckeditor/', 'phpmailer/', etc.
// to the 'dst/' (distribution) folder.
// Maybe have PHP modify/create Makefile from the cookie?
// todo: Minify EVERYTHING in the 'dst/' folder, except the .txt files.
$lang = ( languageToAbbrev ( $LANGUAGE ) ?: $_COOKIE['lang'] ?: 'en' );
3d0255b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove 'Elven.txt'. It was fun, but too hard to maintain. Also, it's basically English with a fantasy font.
Add 'en_US.txt'. Start to make things easier.
3d0255b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3d0255b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.