Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   rename menu commands , posted by Francois Cloutier on Tue Apr 11 17:24:48 2017 
    icon2.gif   Re: rename menu commands , posted by David Pilgram on Tue Apr 11 18:05:15 2017 
    icon5.gif   Re: rename menu commands , posted by Andreas Luedeke on Tue Apr 11 22:44:40 2017 
       icon3.gif   Re: rename menu commands , posted by Francois Cloutier on Wed Apr 12 13:52:34 2017 
          icon2.gif   Re: rename menu commands , posted by David Pilgram on Wed Apr 12 14:00:58 2017 
Message ID: 68599     Entry time: Tue Apr 11 18:05:15 2017     In reply to: 68598
Icon: Reply  Author: David Pilgram  Author Email: David.Pilgram@epost.org.uk 
Category: Question  OS: Windows  ELOG Version: 3.1.2-7933898 
Subject: Re: rename menu commands  

Hi,

First up, the Copy command is supposed to be used to copy to another log book, as it says in the documentation, not a duplicate entry in the same logbook.  I've tried doing a copy into the same logbook, it appears to work (although I don't know about every circumstance, I just did a quick and dirty test).  Use at your own risk!  Don't use Preserve ID feature is one caution I would raise immediately.

As for renaming the command, I'd suggest defining a new language, "lenglish" or whatever, make all the files necessary as per any normal language; in the eloglang.lenglish file would be

New = New

Edit = Modify

---

Copy to = Duplicate

and so on.  I chose to call my eloglang "lenglish" as duplicate, modify etc as used in the example here derive from Latin, but other commands would still be English.

 

When specified in the config file (just like the languages that "come with the box") that should give you the alternative names for the commands.

David.

Francois Cloutier wrote:

Hi !

I do have an setup were I would like to rename the menu command but keeping their fonction. Namely, I would like to rename the "copy to" button to "Duplicate" since thats the option I would like to put in place ( Copy to = Same logbook only).

I tried to do so with css but it is not possible since the button doesn't have a specific id... Would you have another solution ? 

Thanks for your help !

 

ELOG V3.1.5-fe60aaf