Externalize a translation resource
| | |
| | | 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. |
| | |
| | | if (addGitignore) {
|
| | | gitignore = gitignoreModel.getObject();
|
| | | if (StringUtils.isEmpty(gitignore)) {
|
| | | throw new GitBlitException("Please select a .gitignore file");
|
| | | throw new GitBlitException(getString("gb.pleaseSelectGitIgnore"));
|
| | | }
|
| | | }
|
| | |
|