reformat code

This commit is contained in:
joyqi
2021-08-18 18:41:39 +08:00
parent 467471c9c3
commit 44aef6c707
25 changed files with 1216 additions and 1032 deletions

View File

@@ -111,21 +111,15 @@ function get_pot($file) {
require_once __DIR__ . '/../var/Typecho/Common.php';
$version = Typecho_Common::VERSION;
$date = date('Y-m-d H:iO');
$year = date('Y');
echo <<<EOF
# Copyright (C) {$year} Typecho
# Copyright (C) Typecho
# This file is distributed under the same license as the Typecho Project.
# FIRST AUTHOR <joyqi@typecho.org>, {$year}.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: {$version}\\n"
"Report-Msgid-Bugs-To: \\n"
"POT-Creation-Date: {$date}\\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n"
"Language-Team: Typecho Dev <team@typecho.org>\\n"