Browse Source

chore: fix code formating

pull/373/head
Jérôme Deuchnord 7 months ago
committed by Deuchnord
parent
commit
e2ceb00987
2 changed files with 7 additions and 7 deletions
  1. +3
    -3
      kosmorro/dumper.py
  2. +4
    -4
      kosmorro/locales/messages.pot

+ 3
- 3
kosmorro/dumper.py View File

@@ -317,9 +317,9 @@ class _LatexDumper(Dumper):
"All the hours are given in {timezone}." "All the hours are given in {timezone}."
).format( ).format(
date=self.get_date_as_string(), date=self.get_date_as_string(),
timezone="UTC+%d" % self.timezone
if self.timezone != 0
else "UTC",
timezone=(
"UTC+%d" % self.timezone if self.timezone != 0 else "UTC"
),
), ),
_( _(
"Don't forget to check the weather forecast before you go out with your equipment." "Don't forget to check the weather forecast before you go out with your equipment."


+ 4
- 4
kosmorro/locales/messages.pot View File

@@ -1,21 +1,21 @@
# Translations template for PROJECT. # Translations template for PROJECT.
# Copyright (C) 2023 ORGANIZATION
# Copyright (C) 2024 ORGANIZATION
# This file is distributed under the same license as the PROJECT project. # This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PROJECT VERSION\n" "Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-05-24 13:41+0200\n"
"POT-Creation-Date: 2024-05-26 11:23+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.12.1\n"
"Generated-By: Babel 2.14.0\n"


#: kosmorro/__main__.py:61 #: kosmorro/__main__.py:61
msgid "" msgid ""


Loading…
Cancel
Save