Skip to content

Commit f1bd36e

Browse files
authored
Merge pull request #68 from Kentico/fix/missing_resource_keys
Fix missing resource keys
2 parents 3a6fff1 + 34ed953 commit f1bd36e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/Kentico.Xperience.TagManager/Admin/UIPages/CodeSnippetListingPage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public override async Task ConfigurePage()
8585
sortable: false,
8686
formatter: (value, _) =>
8787
value is null or 0
88-
? LocalizationService.GetString("No consent needed")
88+
? LocalizationService.GetString("customchannelsettings.codesnippets.noconsentneeded")
8989
: allConsents.FirstOrDefault(c => c.ConsentID == (int)value)?.ConsentDisplayName ?? "")
9090
.AddColumn(
9191
nameof(ChannelCodeSnippetItemInfo.ChannelCodeSnippetItemEnable),

src/Kentico.Xperience.TagManager/Resources/TagManagerResources.resx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
62-
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
62+
<xsd:schema id="root"
63+
xmlns=""
64+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
65+
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
6366
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6467
<xsd:element name="root" msdata:IsDataSet="true">
6568
<xsd:complexType>
@@ -120,4 +123,7 @@
120123
<data name="customchannelsettings.codesnippets.noconsentneeded" xml:space="preserve">
121124
<value>No consent needed</value>
122125
</data>
126+
<data name="customchannelsettings.codesnippets.permissionerror" xml:space="preserve">
127+
<value>Missing permission for channel</value>
128+
</data>
123129
</root>

0 commit comments

Comments
 (0)