Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Untranslated literal _(not specified) shown for Epoch on collection page

クローズ 初心者向け
#2,436 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@tomkralidis がすでに取り組んでいます。

2026年10月13日 から。

  • #2437 @hardikkaurani による — マージされずにクローズ

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
frontend

調査の方向性

issue では、170 行目の pygeoapi/templates/collections/collection.html が示されています。リテラルのフォールバックをレポートに示された gettext 呼び出しに置き換え、storageCrsCoordinateEpoch が未設定の状態で collection ページを確認してください。リテラルの _(not specified) ではなく、翻訳された「未指定」というテキストが表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug ui

Description

On the collection HTML page, when storageCrsCoordinateEpoch is not set, the page displays the literal text _(not specified) instead of a translated “not specified”.

In pygeoapi/templates/collections/collection.html (line 170):

{{ data['storageCrsCoordinateEpoch'] or '_(not specified)' }}

The gettext call is inside the string literal, so it is rendered as-is. Suggested fix:

{{ data['storageCrsCoordinateEpoch'] or _('not specified') }}

Observed with pygeoapi 0.24.0 and still present on master.

This is also seen in pygeoapi's public demo: https://demo.pygeoapi.io/master/collections/obs

Thanks for considering this bug report!

主要言語
Python
スター
626
フォーク
334
平均マージ
20時間 31分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

geopython/pygeoapi のほかの issue

geopython/pygeoapi の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。