@localizesh/processor-apple-strings
Advanced tools
+5
-1
@@ -37,3 +37,3 @@ import { IdGenerator } from "@localizesh/sdk"; | ||
| } | ||
| else if (line.substring(0, 2) === '//') { | ||
| else if (line.substring(0, 2) === '//' || line.substring(0, 1) === '#') { | ||
| currentComment = line.substring(2).trim(); | ||
@@ -57,2 +57,6 @@ return; | ||
| if (line === '' && !nextLineIsValue) { | ||
| if (currentComment) { | ||
| result = [...result, { comment: currentComment }]; | ||
| currentComment = ''; | ||
| } | ||
| return; | ||
@@ -59,0 +63,0 @@ } |
+2
-2
@@ -24,3 +24,3 @@ { | ||
| "ts-node": "^10.9.2", | ||
| "typescript": "^5.7.2" | ||
| "typescript": "^5.7.3" | ||
| }, | ||
@@ -30,3 +30,3 @@ "peerDependencies": { | ||
| }, | ||
| "version": "0.1.1" | ||
| "version": "0.1.2" | ||
| } |
11287
1.66%284
1.43%