James Moger
2014-06-03 496532ac22430950a5e8973a7942a51bfd6b39e5
Externalize a translation resource
2 files modified
3 ■■■■ changed files
src/main/java/com/gitblit/wicket/GitBlitWebApp.properties 1 ●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/NewRepositoryPage.java 2 ●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/GitBlitWebApp.properties
@@ -704,6 +704,7 @@
gb.initWithReadmeDescription = This will generate a simple README document for your repository.
gb.initWithGitignore = Include a .gitignore file
gb.initWithGitignoreDescription = This will insert a config file that instructs your Git clients to ignore files or directories that match defined patterns.
gb.pleaseSelectGitIgnore = Please select a .gitignore file
gb.receive = receive
gb.permissions = permissions
gb.ownersDescription = Owners can manage all repository settings but they are not allowed to rename a repository unless it is their personal repository.
src/main/java/com/gitblit/wicket/pages/NewRepositoryPage.java
@@ -130,7 +130,7 @@
                    if (addGitignore) {
                        gitignore = gitignoreModel.getObject();
                        if (StringUtils.isEmpty(gitignore)) {
                            throw new GitBlitException("Please select a .gitignore file");
                            throw new GitBlitException(getString("gb.pleaseSelectGitIgnore"));
                        }
                    }