This tutorial describes how you can change the wording of the 'Edit Entry', 'Edit Tags', 'Add to Memories', 'Track', 'Untrack' and 'Flag' links in Digital Multiplex. It will replace the function EntryPage::lay_sidebar_view_navigation()
Now, you will need to add the following code to your theme layer. First, copy and paste the following code into the layer, making sure to include everything:
function EntryPage::lay_sidebar_view_navigation() : string { var string return; var Link link; var string{} my_captions = {"edit_entry" => "Edit Entry", "edit_tags" => "Edit Tags", "mem_add" => "Add to Memories", "watch_comments" => "Track", "unwatch_comments" => "Untrack", "flag" => "Flag",}; foreach var string k ($.entry.link_keyseq) { $link = $.entry->get_link($k); if ($link.url != "" and $k!= "tell_friend") { var string caption = $my_captions{$k} ? $my_captions{$k} : $link.caption; $return = """$return<tr><td>$*text_sidebar_link_separator<a href="$link.url">$caption</a></td></tr>"""; } } return $return; }
Change the words highlighted in orange to the words you wish to have for the links instead.
Compile your layer, and it's ready to use. You will need to apply your theme layer via the Customize interface in order for your changes to take effect.
Written by camomiletea.