public class WebGitIndexParser implements IGitIndexParser {
+ private final String GIT_ERROR = "No Git information! Update Git Configuration in \"Windows->Preferences->Tizen SDK->Platform->Site Configuration\"";
+
@Override
public ArrayList<GitDescription> parse(PreferencesManager.SiteConfiguration config) {
boolean startTable = false;
if ( !(new File( cacheFile )).exists() ) {
GitDescription gitDesc = new GitDescription();
gitDesc.setProject("no_category/no_project.git");
- gitDesc.setDesc("No Git information! Update Git Configuration in \"Windows->Preferences->Tizen SDK->Platform->Git Configuration\" ");
+ gitDesc.setDesc(GIT_ERROR);
gitDesc.setOwner("None");
GitDescs.add(gitDesc);
WizardPage.GitInfo.Error = Error
WizardPage.GitError.FailedGet.Messsage = Failed to get git project
WizardPage.GitError.CantCreate.Messsage = You can not create this project
+
+WizardPage.GitError.NoInfo = No Git information! \nUpdate Git Configuration in \"Preferences->Tizen SDK->Platform->Site Configuration\"
Label emptyGitDescription = new Label(composite, SWT.NONE ) ;
emptyGitDescription.setLayoutData(new GridData(SWT.FILL, SWT.FILL,true, true));
- emptyGitDescription.setAlignment(SWT.CENTER);
- emptyGitDescription.setText("No Git information! \nUpdate Git Configuration in \"Preferences->Tizen SDK->Platform->Git Configuration\"");
-
+ emptyGitDescription.setAlignment(SWT.CENTER);
+ emptyGitDescription.setText(resources.getString("WizardPage.GitError.NoInfo"));
}