ElkArte Community

Extending Elk => Localization => Topic started by: Jorin on July 14, 2014, 06:39:21 pm

Title: who_generic?
Post by: Jorin on July 14, 2014, 06:39:21 pm
Please explain me noob what's "who_generic" in Who.english.php for?  :-X
Title: Re: who_generic?
Post by: emanuele on July 14, 2014, 07:57:55 pm
Just a generic string that is used when ElkArte doesn't know exactly the action the user is looking at.

For example a mod adds the action "someaction", but it doesn't add the string $txt['who_someaction'] to describe what that action is, in that case the who_generic will be used and the string will become: 'Viewing the someaction'.

It cannot make sense in all cases, that's granted. It's just a way to show something that is somehow related to what the user is doing, but is not possible to show exactly because something is missing.
Title: Re: who_generic?
Post by: Jorin on July 14, 2014, 08:10:43 pm
Ah, okay. You visited the logs in my migration forum today and "Who's online" said you were "Betrachtet logs". That's not perfect when you use german language. So maybe I will change it to something fix like "Is doing something I can't explain".  ;)
Title: Re: who_generic?
Post by: emanuele on July 14, 2014, 09:36:47 pm
Well, it may be worth taking a list of existing actions without a proper description and add them while we go.

In that case the action was:
Code: [Select]
?action=admin;area=logs;sa=errorlog;activity=file;