Skip to content

Commit

Permalink
[23_25] Ban translate in right footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Oyyko committed Aug 10, 2023
1 parent c3990d0 commit 42ca0b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Edit/Interface/edit_footer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ edit_interface_rep::set_left_footer () {

void
edit_interface_rep::set_right_footer (tree r) {
SERVER (set_right_footer (translate (r)));
SERVER (set_right_footer (serialize (r)));
}

tree
Expand Down
2 changes: 1 addition & 1 deletion src/System/Language/dictionary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ tree_translate (tree t) {
* Translate and serialize
******************************************************************************/

static string
string
serialize (tree t) {
if (is_atomic (t))
return t->label;
Expand Down
1 change: 1 addition & 0 deletions src/System/Language/dictionary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ struct dictionary_rep: rep<dictionary> {
string translate (string s, bool guess=true);
};

string serialize (tree t);
dictionary load_dictionary (string from, string to);
void force_load_dictionary (string from, string to);
void set_input_language (string s);
Expand Down

0 comments on commit 42ca0b7

Please sign in to comment.