Browse Source

Tweaks

feature/defer-resource-hash-storage
brandonkelly 3 years ago
parent
commit
1775889ff9
No known key found for this signature in database GPG Key ID: 5E86D0CED64C7093
  1. 1
      package.json
  2. 2
      src/translations/en/app.php
  3. 2
      src/web/assets/upgrade/UpgradeAsset.php
  4. 2
      src/web/assets/upgrade/dist/UpgradeUtility.js
  5. 2
      src/web/assets/upgrade/dist/UpgradeUtility.js.map
  6. 9
      src/web/assets/upgrade/src/UpgradeUtility.js

1
package.json

@ -3,6 +3,7 @@
"private": true,
"main": "webpack.config.js",
"scripts": {
"prebuild": "npm run fix-prettier",
"build": "webpack --node-env=production --progress",
"serve": "webpack-dev-server --node-env=development",
"check-prettier": "prettier --check .",

2
src/translations/en/app.php

@ -1081,7 +1081,6 @@ return [
'Radio Buttons' => 'Radio Buttons',
'Raw data (fastest)' => 'Raw data (fastest)',
'Reactivate' => 'Reactivate',
'Read the <a href="{url}">upgrade guide</a> for instructions on upgrading your site.' => 'Read the <a href="{url}">upgrade guide</a> for instructions on upgrading your site.',
'Ready to upgrade?' => 'Ready to upgrade?',
'Ready' => 'Ready',
'Really delete folder “{folder}”?' => 'Really delete folder “{folder}”?',
@ -1616,6 +1615,7 @@ return [
'View global set - {globalSet}' => 'View global set - {globalSet}',
'View site' => 'View site',
'View tag group - {tagGroup}' => 'View tag group - {tagGroup}',
'View the <a>upgrade guide</a>' => 'View the <a>upgrade guide</a>',
'View user group - {userGroup}' => 'View user group - {userGroup}',
'View volume - {volume}' => 'View volume - {volume}',
'View volume' => 'View volume',

2
src/web/assets/upgrade/UpgradeAsset.php

@ -58,13 +58,13 @@ class UpgradeAsset extends AssetBundle
'Not ready',
'Plugin',
'Plugins',
'Read the <a href="{url}">upgrade guide</a> for instructions on upgrading your site.',
'Ready to upgrade?',
'Ready',
'Requires PHP {version}',
'Status',
'The developer recommends using <a href="{url}">{name}</a> instead.',
'Unable to fetch upgrade info at this time.',
'View the <a>upgrade guide</a>',
]);
}
}

2
src/web/assets/upgrade/dist/UpgradeUtility.js
File diff suppressed because it is too large
View File

2
src/web/assets/upgrade/dist/UpgradeUtility.js.map
File diff suppressed because it is too large
View File

9
src/web/assets/upgrade/src/UpgradeUtility.js

@ -160,12 +160,9 @@ import './upgrade.scss';
)
.append(
$('<p/>', {
html: Craft.t(
'app',
'Read the <a href="{url}">upgrade guide</a> for instructions on upgrading your site.',
{
url: `https://craftcms.com/docs/${this.version}.x/upgrade.html`,
}
html: Craft.t('app', 'View the <a>upgrade guide</a>').replace(
'<a>',
`<a class="go" href="https://craftcms.com/docs/${this.version}.x/upgrade.html">`
),
})
)

Loading…
Cancel
Save