You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Culture and Hostnames: Add ability to sort hostnames (closes#20691) (#20826)
* Adding the sorter controller, and fixing some ui elements so you are able to drag the hostname elements around to sort them
* Fixed sorting
* Changed the html structure and tweaked around with the css to make it look better.
Added a description for the Culture section.
Alligned the rendered text to allign better with the name "Culture and Hostnames"
* Update src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/culture-and-hostnames/modal/culture-and-hostnames-modal.element.ts
Forgot to remove this after I was done testing
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/culture-and-hostnames/modal/culture-and-hostnames-modal.element.ts
Changing grid-gap to just gap
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Removed the disabled and readonly props I added since they are not needed.
Removed the conditional rendering that was attached to the readonly and disabled properties
* Removed the item id from the element and changed css and sorter logic to target the hostname-item class instead
* Updated test
* Bumped helpers
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
Co-authored-by: Andreas Zerbst <73799582+andr317c@users.noreply.github.com>
Co-authored-by: Andreas Zerbst <andr317c@live.dk>
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/assets/lang/en.ts
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -113,26 +113,26 @@ export default {
113
113
},
114
114
assignDomain: {
115
115
permissionDenied: 'Permission denied.',
116
-
addNew: 'Add new domain',
117
-
addCurrent: 'Add current domain',
116
+
addNew: 'Add new hostname',
117
+
addCurrent: 'Add current hostname',
118
118
remove: 'remove',
119
119
invalidNode: 'Invalid node.',
120
-
invalidDomain: 'One or more domains have an invalid format.',
121
-
duplicateDomain: 'Domain has already been assigned.',
122
-
language: 'Language',
123
-
domain: 'Domain',
124
-
domainCreated: "New domain '%0%' has been created",
125
-
domainDeleted: "Domain '%0%' is deleted",
126
-
domainExists: "Domain '%0%' has already been assigned",
127
-
domainUpdated: "Domain '%0%' has been updated",
128
-
orEdit: 'Edit Current Domains',
120
+
invalidDomain: 'One or more hostnames have an invalid format.',
121
+
duplicateDomain: 'Hostname has already been assigned.',
122
+
language: 'Culture',
123
+
domain: 'Hostname',
124
+
domainCreated: "New hostname '%0%' has been created",
125
+
domainDeleted: "Hostname '%0%' is deleted",
126
+
domainExists: "Hostname '%0%' has already been assigned",
127
+
domainUpdated: "Hostname '%0%' has been updated",
128
+
orEdit: 'Edit Current Hostnames',
129
129
domainHelpWithVariants:
130
-
'Valid domain names are: "example.com", "www.example.com", "example.com:8080", or "https://www.example.com/". Furthermore also one-level paths in domains are supported, e.g. "example.com/en" or "/en".',
130
+
'Valid hostnames are: "example.com", "www.example.com", "example.com:8080", or "https://www.example.com/". Furthermore also one-level paths in hostnames are supported, e.g. "example.com/en" or "/en".',
131
131
inherit: 'Inherit',
132
132
setLanguage: 'Culture',
133
133
setLanguageHelp:
134
-
'Set the culture for nodes below the current node,<br /> or inherit culture from parent nodes. Will also apply<br /> to the current node, unless a domain below applies too.',
135
-
setDomains: 'Domains',
134
+
'Set the culture for nodes below the current node,or inherit culture from parent nodes. Will also applyto the current node, unless a hostname below applies too.',
135
+
setDomains: 'Hostnames',
136
136
},
137
137
buttons: {
138
138
clearSelection: 'Clear selection',
@@ -191,7 +191,7 @@ export default {
191
191
save: 'Media saved',
192
192
},
193
193
auditTrails: {
194
-
assigndomain: 'Domain assigned: %0%',
194
+
assigndomain: 'Hostname assigned: %0%',
195
195
atViewingFor: 'Viewing for',
196
196
delete: 'Content deleted',
197
197
unpublish: 'Content unpublished',
@@ -209,7 +209,7 @@ export default {
209
209
custom: '%0%',
210
210
contentversionpreventcleanup: 'Clean up disabled for version: %0%',
211
211
contentversionenablecleanup: 'Clean up enabled for version: %0%',
212
-
smallAssignDomain: 'Assign Domain',
212
+
smallAssignDomain: 'Assign Hostname',
213
213
smallCopy: 'Copy',
214
214
smallPublish: 'Publish',
215
215
smallPublishVariant: 'Publish',
@@ -1562,9 +1562,9 @@ export default {
1562
1562
dictionaryItemExportedError: 'An error occurred while exporting the dictionary item(s)',
1563
1563
dictionaryItemImported: 'The following dictionary item(s) has been imported!',
1564
1564
publishWithNoDomains:
1565
-
'Domains are not configured for multilingual site, please contact an administrator, see log for more information',
1565
+
'Hostnames are not configured for multilingual site, please contact an administrator, see log for more information',
1566
1566
publishWithMissingDomain:
1567
-
'There is no domain configured for %0%, please contact an administrator, see log for more information',
1567
+
'There is no hostname configured for %0%, please contact an administrator, see log for more information',
1568
1568
copySuccessMessage: 'Your system information has successfully been copied to the clipboard',
1569
1569
cannotCopyInformation: 'Could not copy your system information to the clipboard',
1570
1570
webhookSaved: 'Webhook saved',
@@ -2786,7 +2786,7 @@ export default {
2786
2786
minimalLevelDescription: 'We will only send an anonymised site ID to let us know that the site exists.',
2787
2787
basicLevelDescription: 'We will send an anonymised site ID, Umbraco version, and packages installed',
2788
2788
detailedLevelDescription:
2789
-
'We will send: <ul><li>Anonymised site ID, Umbraco version, and packages installed.</li><li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Domains, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li><li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li><li>Configuration settings: ModelsBuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li></ul> <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.<br>By choosing "Detailed" you agree to current and future anonymised information being collected.</em>',
2789
+
'We will send: <ul><li>Anonymised site ID, Umbraco version, and packages installed.</li><li>Number of: Root nodes, Content nodes, Media, Document Types, Templates, Languages, Hostnames, User Group, Users, Members, Backoffice external login providers, and Property Editors in use.</li><li>System information: Webserver, server OS, server framework, server OS language, and database provider.</li><li>Configuration settings: ModelsBuilder mode, if custom Umbraco path exists, ASP environment, whether the delivery API is enabled, and allows public access, and if you are in debug mode.</li></ul> <em>We might change what we send on the Detailed level in the future. If so, it will be listed above.<br>By choosing "Detailed" you agree to current and future anonymised information being collected.</em>',
Copy file name to clipboardExpand all lines: src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/culture-and-hostnames/modal/culture-and-hostnames-modal.element.ts
0 commit comments