Skip to content

Commit

Permalink
fix: TranslateNodeTypeAction creates duplicate directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
cvette committed Jun 4, 2024
1 parent 59f6315 commit 54bc92d
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@ private void processTranslationFile(
String nodeType
) {
String fileName = getFileName(nodeType);
String[] nodeTypeParts = nodeType.split("\\.");
for (String nodeTypePart : nodeTypeParts) {
if (nodeTypePart.equals(fileName)) {
continue;
}

dir = createSubdirectory(dir, nodeTypePart);
}

properties.setProperty("TARGET_LANGUAGE", "");
if (!locale.equals(sourceLocale)) {
Expand Down

0 comments on commit 54bc92d

Please sign in to comment.