(v2.1.1.9041) antibiotics update

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2024-06-08 17:35:25 +02:00
1 parent e2acc513a5
commit af74e1d4f2
26 files changed
+110 -67

No files matched your search

+1
View File
@@ -244,6 +244,7 @@ translate_into_language <- function(from,
# starting with longest pattern, since more general translations are shorter, such as 'Group'
order(nchar(df_trans$pattern), decreasing = TRUE),
function(i) {
if (df_trans$pattern[i] %like% "[/]") return(df_trans$pattern[i])
from_unique_translated <<- gsub(
pattern = df_trans$pattern[i],
replacement = df_trans[i, lang, drop = TRUE],