mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #6106 -- Prevented makemessages from changing .po files when up to date.
Co-authored-by: Daniyal Abbasi <abbasi.daniyal98@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
0b95a96ee1
commit
4bfe8c0eec
4
tests/i18n/unchanged/__init__.py
Normal file
4
tests/i18n/unchanged/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from django.utils.translation import gettext as _
|
||||
|
||||
string1 = _('This is a translatable string.')
|
||||
string2 = _('This is another translatable string.')
|
||||
26
tests/i18n/unchanged/locale/de/LC_MESSAGES/django.po.tmp
Normal file
26
tests/i18n/unchanged/locale/de/LC_MESSAGES/django.po.tmp
Normal file
@@ -0,0 +1,26 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-04-25 15:39-0500\n"
|
||||
"PO-Revision-Date: 2014-05-25 15:39-0500\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: __init__.py:3
|
||||
msgid "This is a translatable string."
|
||||
msgstr "And this has been translated."
|
||||
|
||||
#: __init__.py:4
|
||||
msgid "This is another translatable string."
|
||||
msgstr "And this also has been translated."
|
||||
3
tests/i18n/unchanged/models.py.tmp
Normal file
3
tests/i18n/unchanged/models.py.tmp
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.utils.translation import gettext as _
|
||||
|
||||
string3 = _('This is a hitherto undiscovered translatable string.')
|
||||
Reference in New Issue
Block a user