Skip to content

Commit 38ff5d3

Browse files
authored
fix(translations): regularise the capitalisation of 'CSV' in en localisation (#24440)
1 parent db65b74 commit 38ff5d3

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

superset/translations/en/LC_MESSAGES/messages.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
""
202202
],
203203
"A timeout occurred while executing the query.": [""],
204-
"A timeout occurred while generating a csv.": [""],
204+
"A timeout occurred while generating a CSV.": [""],
205205
"A timeout occurred while generating a dataframe.": [""],
206206
"A timeout occurred while taking a screenshot.": [""],
207207
"A valid color scheme is required": [""],
@@ -346,7 +346,7 @@
346346
"Allow CREATE TABLE AS option in SQL Lab": [""],
347347
"Allow CREATE VIEW AS": [""],
348348
"Allow CREATE VIEW AS option in SQL Lab": [""],
349-
"Allow Csv Upload": [""],
349+
"Allow CSV Upload": [""],
350350
"Allow DML": [""],
351351
"Allow columns to be rearranged": [""],
352352
"Allow creation of new tables based on queries": [""],
@@ -1139,7 +1139,7 @@
11391139
"Database \"%(database_name)s\" schema \"%(schema_name)s\" is not allowed for columnar uploads. Please contact your Superset Admin.": [
11401140
""
11411141
],
1142-
"Database \"%(database_name)s\" schema \"%(schema_name)s\" is not allowed for csv uploads. Please contact your Superset Admin.": [
1142+
"Database \"%(database_name)s\" schema \"%(schema_name)s\" is not allowed for CSV uploads. Please contact your Superset Admin.": [
11431143
""
11441144
],
11451145
"Database \"%(database_name)s\" schema \"%(schema_name)s\" is not allowed for excel uploads. Please contact your Superset Admin.": [
@@ -1825,7 +1825,7 @@
18251825
"If duplicate columns are not overridden, they will be presented as \"X.1, X.2 ...X.x\"": [
18261826
""
18271827
],
1828-
"If selected, please set the schemas allowed for csv upload in Extra.": [
1828+
"If selected, please set the schemas allowed for CSV upload in Extra.": [
18291829
""
18301830
],
18311831
"If table exists do one of the following: Fail (do nothing), Replace (drop and recreate table) or Append (insert data).": [
@@ -2758,7 +2758,7 @@
27582758
"Report Schedule could not be deleted.": [""],
27592759
"Report Schedule could not be updated.": [""],
27602760
"Report Schedule delete failed.": [""],
2761-
"Report Schedule execution failed when generating a csv.": [""],
2761+
"Report Schedule execution failed when generating a CSV.": [""],
27622762
"Report Schedule execution failed when generating a dataframe.": [""],
27632763
"Report Schedule execution failed when generating a screenshot.": [""],
27642764
"Report Schedule execution got an unexpected error.": [""],
@@ -3513,10 +3513,10 @@
35133513
"The number of hours, negative or positive, to shift the time column. This can be used to move UTC time to local time.": [
35143514
""
35153515
],
3516-
"The number of results displayed is limited to %(rows)d by the configuration DISPLAY_MAX_ROWS. Please add additional limits/filters or download to csv to see more rows up to the %(limit)d limit.": [
3516+
"The number of results displayed is limited to %(rows)d by the configuration DISPLAY_MAX_ROWS. Please add additional limits/filters or download to CSV to see more rows up to the %(limit)d limit.": [
35173517
""
35183518
],
3519-
"The number of results displayed is limited to %(rows)d. Please add additional limits/filters, download to csv, or contact an admin to see more rows up to the %(limit)d limit.": [
3519+
"The number of results displayed is limited to %(rows)d. Please add additional limits/filters, download to CSV, or contact an admin to see more rows up to the %(limit)d limit.": [
35203520
""
35213521
],
35223522
"The number of rows displayed is limited to %(rows)d by the dropdown.": [
@@ -4424,7 +4424,7 @@
44244424
"You don't have the rights to alter this title.": [""],
44254425
"You don't have the rights to create a chart": [""],
44264426
"You don't have the rights to create a dashboard": [""],
4427-
"You don't have the rights to download as csv": [""],
4427+
"You don't have the rights to download as CSV": [""],
44284428
"You have no permission to approve this request": [""],
44294429
"You have removed this filter.": [""],
44304430
"You have unsaved changes.": [""],

superset/translations/en/LC_MESSAGES/messages.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ msgid "A timeout occurred while executing the query."
872872
msgstr ""
873873

874874
#: superset/reports/commands/exceptions.py:238
875-
msgid "A timeout occurred while generating a csv."
875+
msgid "A timeout occurred while generating a CSV."
876876
msgstr ""
877877

878878
#: superset/reports/commands/exceptions.py:243
@@ -1554,7 +1554,7 @@ msgid "Allow CREATE VIEW AS option in SQL Lab"
15541554
msgstr ""
15551555

15561556
#: superset/views/database/mixins.py:198
1557-
msgid "Allow Csv Upload"
1557+
msgid "Allow CSV Upload"
15581558
msgstr ""
15591559

15601560
#: superset-frontend/src/features/databases/DatabaseModal/ExtraOptions.tsx:164
@@ -4847,7 +4847,7 @@ msgstr ""
48474847
#, python-format
48484848
msgid ""
48494849
"Database \"%(database_name)s\" schema \"%(schema_name)s\" is not allowed "
4850-
"for csv uploads. Please contact your Superset Admin."
4850+
"for CSV uploads. Please contact your Superset Admin."
48514851
msgstr ""
48524852

48534853
#: superset/views/database/views.py:321
@@ -7685,7 +7685,7 @@ msgid ""
76857685
msgstr ""
76867686

76877687
#: superset/views/database/mixins.py:177
7688-
msgid "If selected, please set the schemas allowed for csv upload in Extra."
7688+
msgid "If selected, please set the schemas allowed for CSV upload in Extra."
76897689
msgstr ""
76907690

76917691
#: superset/views/database/forms.py:328 superset/views/database/forms.py:459
@@ -11702,7 +11702,7 @@ msgid "Report Schedule delete failed."
1170211702
msgstr ""
1170311703

1170411704
#: superset/reports/commands/exceptions.py:159
11705-
msgid "Report Schedule execution failed when generating a csv."
11705+
msgid "Report Schedule execution failed when generating a CSV."
1170611706
msgstr ""
1170711707

1170811708
#: superset/reports/commands/exceptions.py:163
@@ -14728,14 +14728,14 @@ msgstr ""
1472814728
msgid ""
1472914729
"The number of results displayed is limited to %(rows)d by the "
1473014730
"configuration DISPLAY_MAX_ROWS. Please add additional limits/filters or "
14731-
"download to csv to see more rows up to the %(limit)d limit."
14731+
"download to CSV to see more rows up to the %(limit)d limit."
1473214732
msgstr ""
1473314733

1473414734
#: superset-frontend/src/SqlLab/components/ResultSet/index.tsx:307
1473514735
#, python-format
1473614736
msgid ""
1473714737
"The number of results displayed is limited to %(rows)d. Please add "
14738-
"additional limits/filters, download to csv, or contact an admin to see "
14738+
"additional limits/filters, download to CSV, or contact an admin to see "
1473914739
"more rows up to the %(limit)d limit."
1474014740
msgstr ""
1474114741

@@ -17911,7 +17911,7 @@ msgid "You don't have the rights to create a dashboard"
1791117911
msgstr ""
1791217912

1791317913
#: superset/views/core.py:649
17914-
msgid "You don't have the rights to download as csv"
17914+
msgid "You don't have the rights to download as CSV"
1791517915
msgstr ""
1791617916

1791717917
#: superset/views/core.py:425

0 commit comments

Comments
 (0)