Skip to content

Commit

Permalink
[JENKINS-28407] i18n all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Jun 13, 2016
1 parent 3497ffc commit ac2e070
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 11 deletions.
Expand Up @@ -50,7 +50,7 @@ public class CreateCredentialsByXmlCommand extends BaseCredentialsCLICommand {
*/
@Override
public String getShortDescription() {
return "Create credentials by XML";
return Messages.CreateCredentialsByXmlCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -47,7 +47,7 @@ public class CreateCredentialsDomainByXmlCommand extends BaseCredentialsCLIComma
*/
@Override
public String getShortDescription() {
return "Create credentials domain by XML";
return Messages.CreateCredentialsDomainByXmlCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -51,7 +51,7 @@ public class DeleteCredentialsCommand extends BaseCredentialsCLICommand {
*/
@Override
public String getShortDescription() {
return "Deletes credentials";
return Messages.DeleteCredentialsCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -51,7 +51,7 @@ public class DeleteCredentialsDomainCommand extends BaseCredentialsCLICommand {
*/
@Override
public String getShortDescription() {
return "Delete a credentials domain";
return Messages.DeleteCredentialsDomainCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -53,7 +53,7 @@ public class GetCredentialsAsXmlCommand extends BaseCredentialsCLICommand {
*/
@Override
public String getShortDescription() {
return "Gets credentials as XML (secrets redacted)";
return Messages.GetCredentialsAsXmlCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -51,7 +51,7 @@ public class GetCredentialsDomainAsXmlCommand extends BaseCredentialsCLICommand
*/
@Override
public String getShortDescription() {
return "Gets credentials domain as XML";
return Messages.GetCredentialsDomainAsXmlCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -55,7 +55,7 @@ public class ListCredentialsCommand extends BaseCredentialsCLICommand {
*/
@Override
public String getShortDescription() {
return "Lists the credentials in a specific store";
return Messages.ListCredentialsCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -41,7 +41,7 @@ public class ListCredentialsContextResolversCommand extends BaseCredentialsCLICo
*/
@Override
public String getShortDescription() {
return "List Credentials Context Resolvers";
return Messages.ListCredentialsContextResolversCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -42,7 +42,7 @@ public class ListCredentialsProvidersCommand extends BaseCredentialsCLICommand {
*/
@Override
public String getShortDescription() {
return "List Credentials Providers";
return Messages.ListCredentialsProvidersCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -53,7 +53,7 @@ public class UpdateCredentialsByXmlCommand extends BaseCredentialsCLICommand {
*/
@Override
public String getShortDescription() {
return "Update credentials by XML";
return Messages.UpdateCredentialsByXmlCommand_ShortDescription();
}

/**
Expand Down
Expand Up @@ -50,7 +50,7 @@ public class UpdateCredentialsDomainByXmlCommand extends BaseCredentialsCLIComma
*/
@Override
public String getShortDescription() {
return "Update credentials domain by XML";
return Messages.UpdateCredentialsDomainByXmlCommand_ShortDescription();
}

/**
Expand Down
@@ -0,0 +1,34 @@
#
# The MIT License
#
# Copyright (c) 2016, CloudBees, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
CreateCredentialsByXmlCommand.ShortDescription=Create Credential by XML
CreateCredentialsDomainByXmlCommand.ShortDescription=Create Credentials Domain by XML
DeleteCredentialsCommand.ShortDescription=Delete a Credential
DeleteCredentialsDomainCommand.ShortDescription=Delete a Credentials Domain
GetCredentialsAsXmlCommand.ShortDescription=Get a Credentials as XML (secrets redacted)
GetCredentialsDomainAsXmlCommand.ShortDescription=Get a Credentials Domain as XML
ListCredentialsCommand.ShortDescription=Lists the Credentials in a specific Store
ListCredentialsContextResolversCommand.ShortDescription=List Credentials Context Resolvers
ListCredentialsProvidersCommand.ShortDescription=List Credentials Providers
UpdateCredentialsByXmlCommand.ShortDescription=Update Credentials by XML
UpdateCredentialsDomainByXmlCommand.ShortDescription=Update Credentials Domain by XML

0 comments on commit ac2e070

Please sign in to comment.