You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/translation.h
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -241,17 +241,16 @@ class Translation {
241
241
voidRewriteCommonEventMessages();
242
242
243
243
/**
244
-
* Convert a stream of msgbox + choices to a list of output message boxes
244
+
* Convert a stream of msgbox or choices to a list of output message boxes
245
245
*
246
246
* @param dict The dictionary to use for translation
247
-
* @param msg1 The first message string to use for lookup. String with newlines.
248
-
* @param msg2 The (optiona) second message string to use for lookup. String with newlines.
247
+
* @param msg The message string to use for lookup. String with newlines.
249
248
* @param trimChar Trim this character if the lookup string ends with this.
250
249
* @return A vector of Message Boxes, where each Message Box is represented as a vector of lines (strings), or an empty vector if there is no translation.
251
250
* It is guaranteed that each MessageBox vector will have at least one entry (containing "") if it would otherwise be empty; this can happen
252
251
* if the message box insertion commands are used. Note that the last MessageBox vector may contain translated "Choice" entries (it is based on the input).
0 commit comments