Skip to content

Commit

Permalink
Use a double underscore prefixed, lowercased namespace for internal t…
Browse files Browse the repository at this point in the history
…exts generation (Texts.ts)
  • Loading branch information
volkanceylan committed Sep 18, 2024
1 parent c9c2edc commit cce07a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected void AddRowTexts(TypeDefinition type, string prefix)
protected void GenerateTexts()
{
cw.Indented("namespace ");
var ns = RootNamespaces.FirstOrDefault(x => x != "Serenity") ?? "App";
var ns = "__" + (RootNamespaces.FirstOrDefault(x => x != "Serenity") ?? "App").Replace(".", "_").ToLowerInvariant();
sb.Append(ns + ".Texts");
cw.InBrace(delegate
{
Expand Down

0 comments on commit cce07a9

Please sign in to comment.