Groups
Groups
Sign in
Groups
Groups
Redmine Users (japanese)
Conversations
About
Send feedback
Help
姓・名の表示順を日本式にするhack
264 views
Skip to first unread message
kirara397
unread,
Jan 21, 2008, 3:10:48 AM
1/21/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Redmine Users (japanese)
といっても大したものではありません。
#というか、みなさん普通にやってそう...
redmine/app/models/user.rb の110行目あたりにある
"#{firstname} #{lastname}"
をコメントアウトして
"#{lastname} #{firstname}"
と書き換えるだけです。これで名前表示のルールが日本式に切り替わります。
当方ではLDAP認証による自動ユーザー生成ですので、生成されたユーザー名を片っ端から変えていくなんてのはご免でしたので。
ただしもちろん、
姓・名の表示順の設定機能
http://groups.google.com/group/redmine-users-ja/browse_thread/thread/6fd5bbfef1a791e1
が実装されるまでの臨時措置です。バージョンアップのたびにuser.rbを書き直すことになるので。
Reply all
Reply to author
Forward
0 new messages