Package org.eclipse.jgit.pgm.internal
Class CLIText
java.lang.Object
org.eclipse.jgit.nls.TranslationBundle
org.eclipse.jgit.pgm.internal.CLIText
Translation bundle for JGit command line interface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Formats text strings usingLocalizable
. -
Field Summary
FieldsModifier and TypeFieldDescriptionchar[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
fatalError
(String message) Format the given argument as fatal error using the format defined byfatalError
("fatal: " by default).static CLIText.Format
Format textstatic String
formatLine
(String line) Format the given line for using the format defined bylineFormat
("# " by default).static CLIText
get()
Get an instance of this translation bundleMethods inherited from class org.eclipse.jgit.nls.TranslationBundle
effectiveLocale, resourceBundle
-
Field Details
-
alreadyOnBranch
-
alreadyUpToDate
-
answerNo
-
answerYes
-
authorInfo
-
averageMSPerRead
-
branchAlreadyExists
-
branchCreatedFrom
-
branchDetachedHEAD
-
branchIsNotAnAncestorOfYourCurrentHEAD
-
branchNameRequired
-
branchNotFound
-
cacheTreePathInfo
-
configFileNotFound
-
cannotBeRenamed
-
cannotCombineSquashWithNoff
-
cannotCreateCommand
-
cannotCreateOutputStream
-
cannotDeatchHEAD
-
cannotDeleteFile
-
cannotDeleteTheBranchWhichYouAreCurrentlyOn
-
cannotGuessLocalNameFrom
-
cannotLock
-
cannotReadBecause
-
cannotReadPackageInformation
-
cannotRenameDetachedHEAD
-
cannotResolve
-
cannotSetupConsole
-
cannotUseObjectsWithGlog
-
cantFindGitDirectory
-
cantWrite
-
changesNotStagedForCommit
-
changesToBeCommitted
-
checkingOut
-
checkoutConflict
-
checkoutConflictPathLine
-
cleanRequireForce
-
clonedEmptyRepository
-
cloningInto
-
commitLabel
-
configOnlyListOptionSupported
-
conflictingUsageOf_git_dir_andArguments
-
couldNotCreateBranch
-
dateInfo
-
deletedBranch
-
deletedRemoteBranch
-
doesNotExist
-
dontOverwriteLocalChanges
-
everythingUpToDate
-
expectedNumberOfbytes
-
exporting
-
failedToCommitIndex
-
failedToLockIndex
-
fatalError
-
fatalThisProgramWillDestroyTheRepository
-
fetchingSubmodule
-
fileIsRequired
-
ffNotPossibleAborting
-
forcedUpdate
-
fromURI
-
initializedEmptyGitRepositoryIn
-
invalidHttpProxyOnlyHttpSupported
-
invalidRecurseSubmodulesMode
-
invalidUntrackedFilesMode
-
jgitVersion
-
lfsNoAccessKey
-
lfsNoSecretKey
-
lfsProtocolUrl
-
lfsStoreDirectory
-
lfsStoreUrl
-
lfsUnknownStoreType
-
lineFormat
-
listeningOn
-
logNoSignatureVerifier
-
mergeCheckoutConflict
-
mergeConflict
-
mergeFailed
-
mergeCheckoutFailed
-
mergeMadeBy
-
mergedSquashed
-
mergeWentWellStoppedBeforeCommitting
-
metaVar_KEY
-
metaVar_archiveFormat
-
metaVar_archivePrefix
-
metaVar_arg
-
metaVar_author
-
metaVar_bucket
-
metaVar_command
-
metaVar_commandDetail
-
metaVar_commitOrTag
-
metaVar_commitPaths
-
metaVar_commitish
-
metaVar_configFile
-
metaVar_connProp
-
metaVar_diffAlg
-
metaVar_directory
-
metaVar_file
-
metaVar_filepattern
-
metaVar_gitDir
-
metaVar_hostName
-
metaVar_lfsStorage
-
metaVar_linesOfContext
-
metaVar_message
-
metaVar_n
-
metaVar_name
-
metaVar_object
-
metaVar_op
-
metaVar_pass
-
metaVar_path
-
metaVar_paths
-
metaVar_pattern
-
metaVar_port
-
metaVar_ref
-
metaVar_refs
-
metaVar_refspec
-
metaVar_remoteName
-
metaVar_s3Bucket
-
metaVar_s3Region
-
metaVar_s3StorageClass
-
metaVar_seconds
-
metaVar_service
-
metaVar_treeish
-
metaVar_uriish
-
metaVar_url
-
metaVar_user
-
metaVar_values
-
metaVar_version
-
mostCommonlyUsedCommandsAre
-
needApprovalToDestroyCurrentRepository
-
needSingleRevision
-
noGitRepositoryConfigured
-
noNamesFound
-
noSuchFile
-
noSuchPathInRef
-
noSuchRef
-
noTREESectionInIndex
-
nonFastForward
-
noSystemConsoleAvailable
-
notABranch
-
notACommit
-
notAGitRepository
-
notAJgitCommand
-
notARevision
-
notATree
-
notAValidRefName
-
notAValidCommitName
-
notAnIndexFile
-
notAnObject
-
notFound
-
notOnAnyBranch
-
noteObjectTooLargeToPrint
-
nothingToSquash
-
onBranchToBeBorn
-
onBranch
-
onlyOneMetaVarExpectedIn
-
onlyOneCommitOptionAllowed
-
password
-
pathspecDidNotMatch
-
pushTo
-
pathsRequired
-
refDoesNotExistOrNoCommit
-
remoteMessage
-
remoteRefObjectChangedIsNotExpectedOne
-
remoteSideDoesNotSupportDeletingRefs
-
removing
-
repaint
-
resetNoMode
-
s3InvalidBucket
-
serviceNotSupported
-
skippingObject
-
statusFileListFormat
-
statusFileListFormatWithPrefix
-
statusFileListFormatUnmerged
-
statusModified
-
statusNewFile
-
statusRemoved
-
statusBothDeleted
-
statusAddedByUs
-
statusDeletedByThem
-
statusAddedByThem
-
statusDeletedByUs
-
statusBothAdded
-
statusBothModified
-
submoduleRegistered
-
switchedToNewBranch
-
switchedToBranch
-
tagAlreadyExists
-
tagLabel
-
tagNotFound
-
taggerInfo
-
timeInMilliSeconds
-
tooManyRefsGiven
-
treeIsRequired
-
unknownIoErrorStdout
public char[] unknownIoErrorStdout -
unknownMergeStrategy
-
unknownSubcommand
-
unmergedPaths
-
unsupportedOperation
-
untrackedFiles
-
updating
-
usernameFor
-
-
Constructor Details
-
CLIText
public CLIText()
-
-
Method Details
-
format
Format text- Parameters:
text
- the text to format.- Returns:
- a new Format instance.
-
get
Get an instance of this translation bundle- Returns:
- an instance of this translation bundle
-
formatLine
Format the given line for using the format defined bylineFormat
("# " by default).- Parameters:
line
- the line to format- Returns:
- the formatted line
-
fatalError
Format the given argument as fatal error using the format defined byfatalError
("fatal: " by default).- Parameters:
message
- the message to format- Returns:
- the formatted line
-