remoteNameCantBeNull=Remote name can't be null.
repositoryAlreadyExists=Repository already exists: {0}
repositoryNotFound=repository not found: {0}
+repositoryState_applyMailbox=Apply mailbox
+repositoryState_bisecting=Bisecting
+repositoryState_conflicts=Conflicts
+repositoryState_merged=Merged
+repositoryState_normal=Normal
+repositoryState_rebase=Rebase
+repositoryState_rebaseInteractive=Rebase interactive
+repositoryState_rebaseOrApplyMailbox=Rebase/Apply mailbox
+repositoryState_rebaseWithMerge=Rebase w/merge
requiredHashFunctionNotAvailable=Required hash function {0} not available.
resolvingDeltas=Resolving deltas
serviceNotPermitted={0} not permitted
/***/ public String remoteNameCantBeNull;
/***/ public String repositoryAlreadyExists;
/***/ public String repositoryNotFound;
+ /***/ public String repositoryState_applyMailbox;
+ /***/ public String repositoryState_bisecting;
+ /***/ public String repositoryState_conflicts;
+ /***/ public String repositoryState_merged;
+ /***/ public String repositoryState_normal;
+ /***/ public String repositoryState_rebase;
+ /***/ public String repositoryState_rebaseInteractive;
+ /***/ public String repositoryState_rebaseOrApplyMailbox;
+ /***/ public String repositoryState_rebaseWithMerge;
/***/ public String requiredHashFunctionNotAvailable;
/***/ public String resolvingDeltas;
/***/ public String serviceNotPermitted;
package org.eclipse.jgit.lib;
+import org.eclipse.jgit.JGitText;
/**
* Important state of the repository that affects what can and cannot bed
* done. This is things like unhandled conflicted merges and unfinished rebase.
public boolean canCheckout() { return true; }
public boolean canResetHead() { return true; }
public boolean canCommit() { return true; }
- public String getDescription() { return "Normal"; }
+ public String getDescription() { return JGitText.get().repositoryState_normal; }
},
/** An unfinished merge. Must resole or reset before continuing normally
public boolean canCheckout() { return false; }
public boolean canResetHead() { return false; }
public boolean canCommit() { return false; }
- public String getDescription() { return "Conflicts"; }
+ public String getDescription() { return JGitText.get().repositoryState_conflicts; }
},
/**
public boolean canCheckout() { return true; }
public boolean canResetHead() { return true; }
public boolean canCommit() { return true; }
- public String getDescription() { return "Merged"; }
+ public String getDescription() { return JGitText.get().repositoryState_merged; }
},
/**
public boolean canCheckout() { return false; }
public boolean canResetHead() { return false; }
public boolean canCommit() { return true; }
- public String getDescription() { return "Rebase/Apply mailbox"; }
+ public String getDescription() { return JGitText.get().repositoryState_rebaseOrApplyMailbox; }
},
/**
public boolean canCheckout() { return false; }
public boolean canResetHead() { return false; }
public boolean canCommit() { return true; }
- public String getDescription() { return "Rebase"; }
+ public String getDescription() { return JGitText.get().repositoryState_rebase; }
},
/**
public boolean canCheckout() { return false; }
public boolean canResetHead() { return false; }
public boolean canCommit() { return true; }
- public String getDescription() { return "Apply mailbox"; }
+ public String getDescription() { return JGitText.get().repositoryState_applyMailbox; }
},
/**
public boolean canCheckout() { return false; }
public boolean canResetHead() { return false; }
public boolean canCommit() { return true; }
- public String getDescription() { return "Rebase w/merge"; }
+ public String getDescription() { return JGitText.get().repositoryState_rebaseWithMerge; }
},
/**
public boolean canCheckout() { return false; }
public boolean canResetHead() { return false; }
public boolean canCommit() { return true; }
- public String getDescription() { return "Rebase interactive"; }
+ public String getDescription() { return JGitText.get().repositoryState_rebaseInteractive; }
},
/**
/* Commit during bisect is useful */
public boolean canCommit() { return true; }
- public String getDescription() { return "Bisecting"; }
+ public String getDescription() { return JGitText.get().repositoryState_bisecting; }
};
/**