1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-10 09:41:55 +02:00

(v2.1.1.9042) update translations and example isolates

This commit is contained in:
2024-06-09 11:31:04 +02:00
parent af74e1d4f2
commit a3071cf58b
8 changed files with 42 additions and 23 deletions

View File

@ -244,7 +244,6 @@ 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],