Modify

Opened 9 years ago

Last modified 6 years ago

#12199 new defect

Local naming policy undefined for users

Reported by: Dirk Stöcker Owned by:
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

The idea to use a regexp for usernames is very powerful, but it's not helpful regarding error messages for the user. They need to experiment what is allowed and what not. I see this a lot in the logfiles of trac instances.

I thus suggest to add a configuration option which contains a descriptive string telling what the local naming policy allows and what not. This should be displayed in the registration page as well as in the error messages.

I18n: A user supplied string is hard to translate. Here my suggestion:

  • The default string should describe the default setting and be marked N_() for the config option.
  • Each possible language should have an own option (assuming policytext is the option)
  • Before output the current locale is taken (example de_DE):
    • if policytext:de_DE exists use it or otherwise
    • if policytext:de exist use this, otherwise
    • use _(policytext), i.e. translated default
  • Translation of non-default text will have no effect, so it does not do any harm.

Will there ever be a 0.5 release?

Attachments (0)

Change History (3)

comment:1 in reply to:  description Changed 8 years ago by Ryan J Ollos

Replying to stoecker:

Will there ever be a 0.5 release?

I'll create the release soon, see #12569. For this issue, PatchWelcome.

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

comment:3 Changed 6 years ago by Ryan J Ollos

Also requested in comment:15:ticket:11894.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.