From 61cffc1626f413267e39c60cb5a7b0c859c67d4c Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 9 Aug 2015 07:33:18 +0200 Subject: [PATCH] Setup translations To start translation, we need to initially import the translation file - and place it at the proper place so that the usual CI scripts can handle it. The proper place is for all python projects $PROJECT/locale/$PROJECT.pot - see setup.cfg. Further imports will be done by the OpenStack Proposal bot. This patch is needed by https://review.openstack.org/210774 . Change-Id: Ia1fff00239cc8c07941bfb30b72a706ca47ea7d1 --- .../locale/oslo.service-log-critical.pot | 20 ++++ .../locale/oslo.service-log-error.pot | 53 +++++++++++ oslo.service/locale/oslo.service-log-info.pot | 91 +++++++++++++++++++ .../locale/oslo.service-log-warning.pot | 37 ++++++++ oslo.service/locale/oslo.service.pot | 70 ++++++++++++++ 5 files changed, 271 insertions(+) create mode 100644 oslo.service/locale/oslo.service-log-critical.pot create mode 100644 oslo.service/locale/oslo.service-log-error.pot create mode 100644 oslo.service/locale/oslo.service-log-info.pot create mode 100644 oslo.service/locale/oslo.service-log-warning.pot create mode 100644 oslo.service/locale/oslo.service.pot diff --git a/oslo.service/locale/oslo.service-log-critical.pot b/oslo.service/locale/oslo.service-log-critical.pot new file mode 100644 index 00000000..14c3823c --- /dev/null +++ b/oslo.service/locale/oslo.service-log-critical.pot @@ -0,0 +1,20 @@ +# Translations template for oslo.service. +# Copyright (C) 2015 ORGANIZATION +# This file is distributed under the same license as the oslo.service +# project. +# FIRST AUTHOR , 2015. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: oslo.service 0.6.1.dev6\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2015-08-09 07:32+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + diff --git a/oslo.service/locale/oslo.service-log-error.pot b/oslo.service/locale/oslo.service-log-error.pot new file mode 100644 index 00000000..18819962 --- /dev/null +++ b/oslo.service/locale/oslo.service-log-error.pot @@ -0,0 +1,53 @@ +# Translations template for oslo.service. +# Copyright (C) 2015 ORGANIZATION +# This file is distributed under the same license as the oslo.service +# project. +# FIRST AUTHOR , 2015. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: oslo.service 0.6.1.dev6\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2015-08-09 07:32+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + +#: oslo_service/loopingcall.py:56 oslo_service/loopingcall.py:124 +#, python-format +msgid "%(kind)s %(func_name)r failed" +msgstr "" + +#: oslo_service/loopingcall.py:237 +#, python-format +msgid "" +"Cannot retry upon suggested exception since retry count (%(retry_count)d)" +" reached max retry count (%(max_retry_count)d)." +msgstr "" + +#: oslo_service/periodic_task.py:222 +#, python-format +msgid "Error during %(full_task_name)s" +msgstr "" + +#: oslo_service/service.py:386 +msgid "Unhandled exception" +msgstr "" + +#: oslo_service/threadgroup.py:111 +msgid "Error stopping thread." +msgstr "" + +#: oslo_service/threadgroup.py:118 +msgid "Error stopping timer." +msgstr "" + +#: oslo_service/threadgroup.py:145 +msgid "Error waiting on ThreadGroup." +msgstr "" + diff --git a/oslo.service/locale/oslo.service-log-info.pot b/oslo.service/locale/oslo.service-log-info.pot new file mode 100644 index 00000000..2f13eb04 --- /dev/null +++ b/oslo.service/locale/oslo.service-log-info.pot @@ -0,0 +1,91 @@ +# Translations template for oslo.service. +# Copyright (C) 2015 ORGANIZATION +# This file is distributed under the same license as the oslo.service +# project. +# FIRST AUTHOR , 2015. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: oslo.service 0.6.1.dev6\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2015-08-09 07:32+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + +#: oslo_service/eventlet_backdoor.py:127 +#, python-format +msgid "Eventlet backdoor listening on %(port)s for process %(pid)d" +msgstr "" + +#: oslo_service/periodic_task.py:108 +#, python-format +msgid "Skipping periodic task %(task)s because its interval is negative" +msgstr "" + +#: oslo_service/periodic_task.py:113 +#, python-format +msgid "Skipping periodic task %(task)s because it is disabled" +msgstr "" + +#: oslo_service/service.py:262 +#, python-format +msgid "Caught %s, exiting" +msgstr "" + +#: oslo_service/service.py:336 +msgid "Caught SIGINT signal, instantaneous exiting" +msgstr "" + +#: oslo_service/service.py:344 +msgid "Parent process has died unexpectedly, exiting" +msgstr "" + +#: oslo_service/service.py:380 +#, python-format +msgid "Child caught %s, exiting" +msgstr "" + +#: oslo_service/service.py:417 +msgid "Forking too fast, sleeping" +msgstr "" + +#: oslo_service/service.py:438 +#, python-format +msgid "Started child %d" +msgstr "" + +#: oslo_service/service.py:456 +#, python-format +msgid "Starting %d workers" +msgstr "" + +#: oslo_service/service.py:473 +#, python-format +msgid "Child %(pid)d killed by signal %(sig)d" +msgstr "" + +#: oslo_service/service.py:477 +#, python-format +msgid "Child %(pid)s exited with status %(code)d" +msgstr "" + +#: oslo_service/service.py:517 +#, python-format +msgid "Caught %s, stopping children" +msgstr "" + +#: oslo_service/service.py:532 +msgid "Wait called after thread killed. Cleaning up." +msgstr "" + +#: oslo_service/service.py:555 +#, python-format +msgid "Waiting on %d children to exit" +msgstr "" + diff --git a/oslo.service/locale/oslo.service-log-warning.pot b/oslo.service/locale/oslo.service-log-warning.pot new file mode 100644 index 00000000..26fe0f5d --- /dev/null +++ b/oslo.service/locale/oslo.service-log-warning.pot @@ -0,0 +1,37 @@ +# Translations template for oslo.service. +# Copyright (C) 2015 ORGANIZATION +# This file is distributed under the same license as the oslo.service +# project. +# FIRST AUTHOR , 2015. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: oslo.service 0.6.1.dev6\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2015-08-09 07:32+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + +#: oslo_service/loopingcall.py:147 +#, python-format +msgid "Function %(func_name)r run outlasted interval by %(delay).2f sec" +msgstr "" + +#: oslo_service/loopingcall.py:230 +#, python-format +msgid "" +"Exception which is in the suggested list of exceptions occurred while " +"invoking function: %s." +msgstr "" + +#: oslo_service/service.py:481 +#, python-format +msgid "pid %d not in child list" +msgstr "" + diff --git a/oslo.service/locale/oslo.service.pot b/oslo.service/locale/oslo.service.pot new file mode 100644 index 00000000..800aa819 --- /dev/null +++ b/oslo.service/locale/oslo.service.pot @@ -0,0 +1,70 @@ +# Translations template for oslo.service. +# Copyright (C) 2015 ORGANIZATION +# This file is distributed under the same license as the oslo.service +# project. +# FIRST AUTHOR , 2015. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: oslo.service 0.6.1.dev6\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2015-08-09 07:32+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 1.3\n" + +#: oslo_service/loopingcall.py:65 +msgid "Unknown looping call" +msgstr "" + +#: oslo_service/loopingcall.py:67 +msgid "A looping call can only run one function at a time" +msgstr "" + +#: oslo_service/loopingcall.py:138 +msgid "A fixed interval looping call can only run one function at a time" +msgstr "" + +#: oslo_service/loopingcall.py:141 +msgid "Fixed interval looping call" +msgstr "" + +#: oslo_service/loopingcall.py:162 +msgid "A dynamic interval looping call can only run one function at a time" +msgstr "" + +#: oslo_service/loopingcall.py:165 +msgid "Dynamic interval looping call" +msgstr "" + +#: oslo_service/periodic_task.py:37 +#, python-format +msgid "Unexpected argument for periodic task creation: %(arg)s." +msgstr "" + +#: oslo_service/sslutils.py:39 +#, python-format +msgid "Unable to find cert_file : %s" +msgstr "" + +#: oslo_service/sslutils.py:42 +#, python-format +msgid "Unable to find ca_file : %s" +msgstr "" + +#: oslo_service/sslutils.py:45 +#, python-format +msgid "Unable to find key_file : %s" +msgstr "" + +#: oslo_service/sslutils.py:48 +msgid "" +"When running server in SSL mode, you must specify both a cert_file and " +"key_file option value in your configuration file" +msgstr "" +