forked from gitblit-org/gitblit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Setting "Default Language" when creating user.
- Loading branch information
1 parent
06f23c3
commit 2e68cb6
Showing
4 changed files
with
71 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.gitblit.wicket.pages; | ||
|
||
import java.io.Serializable; | ||
|
||
public class Language implements Serializable { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
final String name; | ||
final String code; | ||
|
||
public Language(String name, String code) { | ||
this.name = name; | ||
this.code = code; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return name + " (" + code + ")"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters