You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2021/06/23 15:31:12 UTC

[superset] branch master updated: fix: Capitalize time grainularity weekdays (#15319)

This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new ea382e4  fix: Capitalize time grainularity weekdays (#15319)
ea382e4 is described below

commit ea382e404d285db454a88aa2fe932120dd67b854
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Wed Jun 23 08:30:30 2021 -0700

    fix: Capitalize time grainularity weekdays (#15319)
    
    Co-authored-by: John Bodley <jo...@airbnb.com>
---
 superset/db_engine_specs/base.py                   | 8 ++++----
 superset/translations/ja/LC_MESSAGES/messages.json | 8 ++++----
 superset/translations/ja/LC_MESSAGES/messages.po   | 8 ++++----
 superset/translations/ko/LC_MESSAGES/messages.json | 8 ++++----
 superset/translations/ko/LC_MESSAGES/messages.po   | 8 ++++----
 superset/translations/messages.pot                 | 8 ++++----
 6 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/superset/db_engine_specs/base.py b/superset/db_engine_specs/base.py
index 3f123c1..623faf2 100644
--- a/superset/db_engine_specs/base.py
+++ b/superset/db_engine_specs/base.py
@@ -96,10 +96,10 @@ builtin_time_grains: Dict[Optional[str], str] = {
     "P1M": __("Month"),
     "P0.25Y": __("Quarter"),
     "P1Y": __("Year"),
-    "1969-12-28T00:00:00Z/P1W": __("Week starting sunday"),
-    "1969-12-29T00:00:00Z/P1W": __("Week starting monday"),
-    "P1W/1970-01-03T00:00:00Z": __("Week ending saturday"),
-    "P1W/1970-01-04T00:00:00Z": __("Week_ending sunday"),
+    "1969-12-28T00:00:00Z/P1W": __("Week starting Sunday"),
+    "1969-12-29T00:00:00Z/P1W": __("Week starting Monday"),
+    "P1W/1970-01-03T00:00:00Z": __("Week ending Saturday"),
+    "P1W/1970-01-04T00:00:00Z": __("Week_ending Sunday"),
 }
 
 
diff --git a/superset/translations/ja/LC_MESSAGES/messages.json b/superset/translations/ja/LC_MESSAGES/messages.json
index 4e5a2e4..9275f6b 100644
--- a/superset/translations/ja/LC_MESSAGES/messages.json
+++ b/superset/translations/ja/LC_MESSAGES/messages.json
@@ -591,10 +591,10 @@
       "Month": ["月"],
       "Quarter": ["四半期"],
       "Year": ["年"],
-      "Week starting sunday": [""],
-      "Week starting monday": [""],
-      "Week ending saturday": [""],
-      "Week_ending sunday": [""],
+      "Week starting Sunday": [""],
+      "Week starting Monday": [""],
+      "Week ending Saturday": [""],
+      "Week_ending Sunday": [""],
       "Username": ["ユーザー名"],
       "Password": ["パスワード"],
       "Hostname or IP address": ["ホスト名またはIPアドレス"],
diff --git a/superset/translations/ja/LC_MESSAGES/messages.po b/superset/translations/ja/LC_MESSAGES/messages.po
index c355eec..6a594ce 100644
--- a/superset/translations/ja/LC_MESSAGES/messages.po
+++ b/superset/translations/ja/LC_MESSAGES/messages.po
@@ -1890,19 +1890,19 @@ msgid "Year"
 msgstr "年"
 
 #: superset/db_engine_specs/base.py:99
-msgid "Week starting sunday"
+msgid "Week starting Sunday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:100
-msgid "Week starting monday"
+msgid "Week starting Monday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:101
-msgid "Week ending saturday"
+msgid "Week ending Saturday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:102
-msgid "Week_ending sunday"
+msgid "Week_ending Sunday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:1276
diff --git a/superset/translations/ko/LC_MESSAGES/messages.json b/superset/translations/ko/LC_MESSAGES/messages.json
index ecde582..2ae5e9e 100644
--- a/superset/translations/ko/LC_MESSAGES/messages.json
+++ b/superset/translations/ko/LC_MESSAGES/messages.json
@@ -526,10 +526,10 @@
       "Month": ["달"],
       "Quarter": ["분기"],
       "Year": ["년"],
-      "Week starting sunday": [""],
-      "Week starting monday": [""],
-      "Week ending saturday": [""],
-      "Week_ending sunday": [""],
+      "Week starting Sunday": [""],
+      "Week starting Monday": [""],
+      "Week ending Saturday": [""],
+      "Week_ending Sunday": [""],
       "Unknown Presto Error": [""],
       "We can't seem to resolve the column \"%(column_name)s\" at line %(location)s.": [
         ""
diff --git a/superset/translations/ko/LC_MESSAGES/messages.po b/superset/translations/ko/LC_MESSAGES/messages.po
index 29a49da..3c0a054 100644
--- a/superset/translations/ko/LC_MESSAGES/messages.po
+++ b/superset/translations/ko/LC_MESSAGES/messages.po
@@ -1845,19 +1845,19 @@ msgid "Year"
 msgstr "년"
 
 #: superset/db_engine_specs/base.py:95
-msgid "Week starting sunday"
+msgid "Week starting Sunday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:96
-msgid "Week starting monday"
+msgid "Week starting Monday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:97
-msgid "Week ending saturday"
+msgid "Week ending Saturday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:98
-msgid "Week_ending sunday"
+msgid "Week ending Sunday"
 msgstr ""
 
 #: superset/db_engine_specs/presto.py:930
diff --git a/superset/translations/messages.pot b/superset/translations/messages.pot
index c14487b..9365d50 100644
--- a/superset/translations/messages.pot
+++ b/superset/translations/messages.pot
@@ -1894,19 +1894,19 @@ msgid "Year"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:99
-msgid "Week starting sunday"
+msgid "Week starting Sunday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:100
-msgid "Week starting monday"
+msgid "Week starting Monday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:101
-msgid "Week ending saturday"
+msgid "Week ending Saturday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:102
-msgid "Week_ending sunday"
+msgid "Week ending Sunday"
 msgstr ""
 
 #: superset/db_engine_specs/base.py:1276