We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c946f9 commit 14a3c6eCopy full SHA for 14a3c6e
src/file-formats/po/po-ops.ts
@@ -70,6 +70,22 @@ export function updatePotTranslations(
70
oldTarget: oldTargetComments,
71
});
72
}
73
+
74
+ if (args.changeSet.added.has(key)) {
75
+ // add a special marking for newly-added PO-entries
76
+ const newPoMarker = "NEEDS WORK";
77
+ if (getText.comments) {
78
+ if (typeof getText.comments.reference === "string") {
79
+ getText.comments.reference += (" " + newPoMarker);
80
+ } else {
81
+ getText.comments.reference = newPoMarker
82
+ }
83
84
+ getText.comments = {
85
+ reference: newPoMarker
86
+ } as GetTextComment;
87
88
89
90
91
0 commit comments