[education/rkward] scripts: Fix message extraction for R package

Thomas Friedrichsmeier null at kde.org
Mon Oct 20 11:39:09 BST 2025


Git commit be88933e9f5d7fe82f74d5b020ddf3c9a42c064c by Thomas Friedrichsmeier.
Committed on 20/10/2025 at 10:38.
Pushed by tfry into branch 'master'.

Fix message extraction for R package

M  +1    -1    scripts/extract_r_messages.py

https://invent.kde.org/education/rkward/-/commit/be88933e9f5d7fe82f74d5b020ddf3c9a42c064c

diff --git a/scripts/extract_r_messages.py b/scripts/extract_r_messages.py
index 1f721e211..7c9590e18 100755
--- a/scripts/extract_r_messages.py
+++ b/scripts/extract_r_messages.py
@@ -131,7 +131,7 @@ class RParseBuffer:
 
 def handleRChunk (filename):
   global outfile
-  keywords = (".rk.i18n")
+  keywords = (".rk.i18n",)
 
   # Convert single quoted and backtick quoted strings in the input chunk to double quotes (so xgettext can work in C-style).
   def normalizeQuotes (chunk):


More information about the rkward-tracker mailing list