per page, with , order by , clip by
Results of 1 - 6 of about 6 for pgettext (0.008 sec.)
翻訳 12411
翻訳 概要 Django プロジェクトを翻訳可能にするためには、Python コードやテンプレートに、多少のフックを加筆しなければなりません。このフックは 翻訳文字列 と呼ばれます。翻訳文字列は Django に「このテキストに対する翻訳が有効な場合、このテキストは ... . To enable translators to translate these words correctly in different contexts, you can use the django.utils.translation.pgettext() function, or the django.utils.translation.npgettext() function if the string needs pluralization. Both take a context st ... t 行に出現します)、これらそれぞれに対して翻訳者が異なる翻訳ができるようにします。 例: from django.utils.translation import pgettext month = pgettext ( "month name" , "May" ) もしくは: from django.db import models from django.utils.translation import pget ... text_lazy class MyThing ( models . Model ): name = models . CharField ( help_text = pgettext_lazy ( "help text for MyThing model" , "This is the help text" ) ) これは .po ファイル内に以下のように出現します: msgctxt ...
https://man.mtool.work/django/6.1/topics/i18n/translation.html
Django 1.6.5 リリースノート 10254
Django 1.6.5 リリースノート May 14, 2014 Django 1.6.5 fixes two security issues and several bugs in 1.6.4. Issue: Caches may incorrectly be allowed to store and serve private data In certain situations, Django may allow caches to store priv ... URLs. バグ修正 Made the year_lookup_bounds_for_datetime_field Oracle backend method Python 3 compatible ( #22551 ). Fixed pgettext_lazy crash when receiving bytestring content on Python 2 ( #22565 ). Fixed the SQL generated when filtering by a negated Q ...
https://man.mtool.work/django/6.1/releases/1.6.5.html
Django ユーティリティ (django.utils) 9541
Django ユーティリティ ( django.utils ) このドキュメントは、 django.utils のすべての安定したモジュールを対象としています。 django.utils 内のほとんどのモジュールは内部使用を目的としていることから、 内部リリース非推奨ポリシー に従い、以下に記載 ... 引数は、フォーマットされる文字列です。例えば: from django.utils.text import format_lazy from django.utils.translation import pgettext_lazy urlpatterns = [ path ( format_lazy ( " {person} /<int:pk>/" , person = pgettext_lazy ( "URL" , "person" )), PersonDet ... の完全な説明は、 翻訳ドキュメント を参照してください。 gettext ( message ) [ソース] message を翻訳し、文字列として返します。 pgettext ( context , message ) [ソース] context を考慮して message を翻訳し、文字列として返します。 詳しくは 文脈マーカー を参照して ... ください。 gettext_lazy ( message ) pgettext_lazy ( context , message ) 上述の lazy ではないものと同じですが、遅延処理を使用します。 遅延翻訳のドキュメント を参照してく ...
https://man.mtool.work/django/6.1/ref/utils.html
Django 1.3 リリースノート 7768
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... ntextual markers and comments for translatable strings For translation strings with ambiguous meaning, you can now use the pgettext function to specify the context of the string. And if you just want to add some information for translators, you can also ...
https://man.mtool.work/django/6.1/releases/1.3.html
索引 7403
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... ッド) NotSupportedError now template tag Now (django.db.models.functions のクラス) now() (django.utils.timezone モジュール) npgettext() (django.utils.translation モジュール) npgettext_lazy() (django.utils.translation モジュール) NthValue (django.db.models. ... ermissions (models.Group の属性) (Options の属性) PersistentRemoteUserMiddleware (django.contrib.auth.middleware のクラス) pgettext() (django.utils.translation モジュール) pgettext_lazy() (django.utils.translation モジュール) phone2numeric template filte ...
https://man.mtool.work/django/6.1/genindex.html
Django 1.4 リリースノート 7403
Django 1.4 リリースノート March 23, 2012 Django 1.4 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.3 or older versions. We've a ... anslation support for {% trans %} and {% blocktrans %} The contextual translation support introduced in Django 1.3 via the pgettext function has been extended to the trans and blocktrans template tags using the new context keyword. Customizable SingleObj ...
https://man.mtool.work/django/6.1/releases/1.4.html
PREV 1 NEXT