Add label-key to prevent cleanup button (#12990)

* Add label-key

* Translate 'historyCleanupEnableCleanup' to Dutch

* Add 'historyCleanupEnableCleanup' to en_us.xml
This commit is contained in:
Erik-Jan Westendorp
2022-09-14 13:36:36 +02:00
committed by GitHub
parent 902f126e6b
commit b84ccea96f
4 changed files with 5 additions and 1 deletions

View File

@@ -1873,6 +1873,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
<key alias="historyCleanupKeepAllVersionsNewerThanDays">Keep all versions newer than days</key>
<key alias="historyCleanupKeepLatestVersionPerDayForDays">Keep latest version per day for days</key>
<key alias="historyCleanupPreventCleanup">Prevent cleanup</key>
<key alias="historyCleanupEnableCleanup">Enable cleanup</key>
<key alias="historyCleanupGloballyDisabled"><![CDATA[<strong>NOTE!</strong> The cleanup of historically content versions are disabled globally. These settings will not take effect before it is enabled.]]></key>
</area>
<area alias="languages">

View File

@@ -1947,6 +1947,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
<key alias="historyCleanupKeepAllVersionsNewerThanDays">Keep all versions newer than days</key>
<key alias="historyCleanupKeepLatestVersionPerDayForDays">Keep latest version per day for days</key>
<key alias="historyCleanupPreventCleanup">Prevent cleanup</key>
<key alias="historyCleanupEnableCleanup">Enable cleanup</key>
<key alias="historyCleanupGloballyDisabled"><![CDATA[<strong>NOTE!</strong> The cleanup of historically content versions are disabled globally. These settings will not take effect before it is enabled.]]></key>
<key alias="changeDataTypeHelpText">Changing a data type with stored values is disabled. To allow this you can change the Umbraco:CMS:DataTypes:CanBeChanged setting in appsettings.json.</key>
</area>

View File

@@ -1693,6 +1693,7 @@ Echter, Runway biedt een gemakkelijke basis om je snel op weg te helpen. Als je
<key alias="historyCleanupKeepAllVersionsNewerThanDays">Bewaar alle versies nieuwer dan dagen</key>
<key alias="historyCleanupKeepLatestVersionPerDayForDays">Bewaar de laatste versie per dag voor dagen</key>
<key alias="historyCleanupPreventCleanup">Voorkom opschonen</key>
<key alias="historyCleanupEnableCleanup">Opschonen aanzetten</key>
<key alias="historyCleanupGloballyDisabled">Geschiedenis opschonen is globaal uitgeschakeld. Deze instellingen worden pas van kracht nadat ze zijn ingeschakeld.</key>
</area>
<area alias="languages">

View File

@@ -73,7 +73,8 @@
size="xxs"
state="version.pinningState"
action="vm.pinVersion(version, $event)"
label="{{ version.preventCleanup ? 'Enable cleanup' : 'Prevent cleanup' }}">
label="{{ version.preventCleanup ? 'Enable cleanup' : 'Prevent cleanup' }}"
label-key="{{version.preventCleanup ? 'contentTypeEditor_historyCleanupEnableCleanup' : 'contentTypeEditor_historyCleanupPreventCleanup' }}">
</umb-button>
</div>
</div>