Skip to content

A platform for community discussion. Free, open, simple.

UX: rename the word "Upgrade" to "Update" in the UI. (#26396)

Vinoth Kannancd43985de075
diff --git a/app/assets/javascripts/admin/addon/components/version-checks.hbs b/app/assets/javascripts/admin/addon/components/version-checks.hbs
index b0b31c6e05e..20fac751b69 100644
--- a/app/assets/javascripts/admin/addon/components/version-checks.hbs
+++ b/app/assets/javascripts/admin/addon/components/version-checks.hbs
@@ -125,17 +125,17 @@
<span class="normal-note">
{{i18n "admin.dashboard.updates_available"}}
</span>
- {{i18n "admin.dashboard.please_upgrade"}}
+ {{i18n "admin.dashboard.please_update"}}
{{/if}}
</div>
</div>
{{/if}}
<CustomHtml
- @name="upgrade-header"
+ @name="update-header"
@versionCheck={{this.versionCheck}}
@tagName="div"
- @classNames="upgrade-header"
+ @classNames="update-header"
/>
<PluginOutlet
diff --git a/app/assets/stylesheets/common/admin/dashboard.scss b/app/assets/stylesheets/common/admin/dashboard.scss
index 74dd21965f5..0b6df1bf63e 100644
--- a/app/assets/stylesheets/common/admin/dashboard.scss
+++ b/app/assets/stylesheets/common/admin/dashboard.scss
@@ -526,7 +526,7 @@
justify-content: space-between;
padding-top: 1em;
- .upgrade-header {
+ .update-header {
flex: 1 1 100%;
@media screen and (max-width: 650px) {
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 398b7845424..06fa501dd19 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -2037,7 +2037,7 @@ en:
close: "close"
dismiss_error: "Dismiss error"
close: "Close"
- assets_changed_confirm: "This site just received a software upgrade. Get the latest version now?"
+ assets_changed_confirm: "This site just received a software update. Get the latest version now?"
logout: "You were logged out."
refresh: "Refresh"
home: "Home"
@@ -4843,10 +4843,10 @@ en:
up_to_date: "You're up to date!"
critical_available: "A critical update is available."
updates_available: "Updates are available."
- please_upgrade: "Please upgrade!"
+ please_update: "Please update!"
no_check_performed: "A check for updates has not been performed. Ensure Sidekiq is running."
stale_data: "A check for updates has not been performed lately. Ensure Sidekiq is running."
- version_check_pending: "Looks like you upgraded recently. Fantastic!"
+ version_check_pending: "Looks like you updated recently. Fantastic!"
installed_version: "Installed"
latest_version: "Latest"
problems_found: "Some advice based on your current site settings"
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 7641d6c15bb..676ca560e8a 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -3066,7 +3066,7 @@ en:
Your version: %{installed_version}
New version: **%{new_version}**
- - Upgrade using our easy **[one-click browser upgrade](%{base_url}/admin/upgrade)**
+ - Update using our easy **[one-click browser update](%{base_url}/admin/update)**
- See what's new in the [release notes](https://meta.discourse.org/tag/release-notes) or view the [raw GitHub changelog](https://github.com/discourse/discourse/commits/main)
@@ -3081,7 +3081,7 @@ en:
Your version: %{installed_version}
New version: **%{new_version}**
- - Upgrade using our easy **[one-click browser upgrade](%{base_url}/admin/upgrade)**
+ - Update using our easy **[one-click browser update](%{base_url}/admin/update)**
- See what's new in the [release notes](https://meta.discourse.org/tag/release-notes) or view the [raw GitHub changelog](https://github.com/discourse/discourse/commits/main)
diff --git a/lib/discourse_updates.rb b/lib/discourse_updates.rb
index 098c8f50b92..6fdb2884403 100644
--- a/lib/discourse_updates.rb
+++ b/lib/discourse_updates.rb
@@ -39,7 +39,7 @@ module DiscourseUpdates
)
# Handle cases when version check data is old so we report something that makes sense
- if version_info.updated_at.nil? || last_installed_version != Discourse::VERSION::STRING || # never performed a version check # upgraded since the last version check
+ if version_info.updated_at.nil? || last_installed_version != Discourse::VERSION::STRING || # never performed a version check # updated since the last version check
is_stale_data
Jobs.enqueue(:call_discourse_hub, all_sites: true)
version_info.version_check_pending = true