From ef162e8d070f51f422e57e9cfd62beb1db47e932 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 12 May 2020 15:50:49 -0700 Subject: very hack-y i18n support in jinja2 templates --- .../translations/zh/LC_MESSAGES/messages.mo | Bin 0 -> 621 bytes .../translations/zh/LC_MESSAGES/messages.po | 28 +++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 fatcat_scholar/translations/zh/LC_MESSAGES/messages.mo create mode 100644 fatcat_scholar/translations/zh/LC_MESSAGES/messages.po (limited to 'fatcat_scholar/translations/zh/LC_MESSAGES') diff --git a/fatcat_scholar/translations/zh/LC_MESSAGES/messages.mo b/fatcat_scholar/translations/zh/LC_MESSAGES/messages.mo new file mode 100644 index 0000000..16166b3 Binary files /dev/null and b/fatcat_scholar/translations/zh/LC_MESSAGES/messages.mo differ diff --git a/fatcat_scholar/translations/zh/LC_MESSAGES/messages.po b/fatcat_scholar/translations/zh/LC_MESSAGES/messages.po new file mode 100644 index 0000000..2ffaacf --- /dev/null +++ b/fatcat_scholar/translations/zh/LC_MESSAGES/messages.po @@ -0,0 +1,28 @@ +# Chinese translations for PROJECT. +# Copyright (C) 2020 ORGANIZATION +# This file is distributed under the same license as the PROJECT project. +# FIRST AUTHOR , 2020. +# +msgid "" +msgstr "" +"Project-Id-Version: PROJECT VERSION\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2020-05-12 14:16-0700\n" +"PO-Revision-Date: 2020-05-12 13:45-0700\n" +"Last-Translator: FULL NAME \n" +"Language: zh\n" +"Language-Team: zh \n" +"Plural-Forms: nplurals=1; plural=0\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.6.0\n" + +#: fatcat_scholar/templates/home.html:8 +msgid "This is a longer paragraph, all of which should be translated." +msgstr "这是一个较长的段落,所有段落均应翻译" + +#: fatcat_scholar/templates/home.html:10 +msgid "this is a quick" +msgstr "这是一个快速" + -- cgit v1.2.3