Lokalisierung

This commit is contained in:
Thorsten Ludewig
2011-03-31 13:45:22 +02:00
parent 189a098dab
commit 01d2c6c1dd
4 changed files with 17 additions and 22 deletions

View File

@@ -42,10 +42,10 @@ Sonia.bzr.ConfigPanel = Ext.extend(Sonia.config.SimpleConfigForm, {
repositoryDirectoryText: 'Repository directory',
// helpTexts
bzrBinaryHelpText: 'The location of the Bzr binary.',
pythonBinaryHelpText: 'The location of the Python binary.',
pythonPathHelpText: 'The Python path.',
repositoryDirectoryHelpText: 'The location of the Bazaar repositories.',
bzrBinaryHelpText: 'Location of Bzr binary.',
pythonBinaryHelpText: 'Location of Python binary.',
pythonPathHelpText: 'Python path.',
repositoryDirectoryHelpText: 'Location of Bazaar repositories.',
initComponent: function(){
@@ -93,7 +93,7 @@ if ( i18n != null && i18n.country == 'de' ){
Ext.override(Sonia.hg.ConfigPanel, {
// labels
titleText: 'Bazaar Settings',
titleText: 'Bazaar Einstellungen',
bzrBinaryText: 'Bzr Pfad',
pythonBinary: 'Python Pfad',
pythonPath: 'Python Modul Suchpfad',
@@ -102,8 +102,8 @@ if ( i18n != null && i18n.country == 'de' ){
// helpTexts
bzrBinaryHelpText: 'Pfad zum "bzr" Befehl.',
pythonBinaryHelpText: 'Pfad zum "python" Befehl.',
pythonPathHelpText: 'Der Python Modul Suchpfad (PYTHONPATH).',
repositoryDirectoryHelpText: 'The location of the Bazaar repositories.'
pythonPathHelpText: 'Python Modul Suchpfad (PYTHONPATH).',
repositoryDirectoryHelpText: 'Pfad der Bazaar-Repositories.'
});

View File

@@ -38,7 +38,7 @@ Sonia.git.ConfigPanel = Ext.extend(Sonia.config.SimpleConfigForm, {
repositoryDirectoryText: 'Repository directory',
// helpTexts
repositoryDirectoryHelpText: 'The location of the Git repositories.',
repositoryDirectoryHelpText: 'Location of the Git repositories.',
initComponent: function(){
@@ -73,7 +73,7 @@ if ( i18n != null && i18n.country == 'de' ){
repositoryDirectoryText: 'Repository-Verzeichnis',
// helpTexts
repositoryDirectoryHelpText: 'Das Verzeichnis der Git-Repositories.'
repositoryDirectoryHelpText: 'Verzeichnis der Git-Repositories.'
});

View File

@@ -45,10 +45,10 @@ Sonia.hg.ConfigPanel = Ext.extend(Sonia.config.ConfigForm, {
autoConfigLabelText: 'Auto-Configuration',
// helpText
hgBinaryHelpText: 'The location of the Mercurial binary.',
pythonBinaryHelpText: 'The location of the Python binary.',
pythonPathHelpText: 'The Python Module Search Path (PYTHONPATH).',
repositoryDirectoryHelpText: 'The location of the Mercurial repositories.',
hgBinaryHelpText: 'Location of Mercurial binary.',
pythonBinaryHelpText: 'Location of Python binary.',
pythonPathHelpText: 'Python Module Search Path (PYTHONPATH).',
repositoryDirectoryHelpText: 'Location of the Mercurial repositories.',
useOptimizedBytecodeHelpText: 'Use the Python "-O" switch.',
initComponent: function(){
@@ -100,11 +100,6 @@ Sonia.hg.ConfigPanel = Ext.extend(Sonia.config.ConfigForm, {
},
onSubmit: function(values){
console.debug( this.submitText );
console.debug( this );
this.el.mask(this.submitText);
Ext.Ajax.request({
url: restUrl + 'config/repositories/hg.json',
@@ -170,8 +165,8 @@ if ( i18n != null && i18n.country == 'de' ){
// helpText
hgBinaryHelpText: 'Pfad zum "hg" Befehl.',
pythonBinaryHelpText: 'Pfad zum "python" Befehl.',
pythonPathHelpText: 'Der Python Modul Suchpfad (PYTHONPATH).',
repositoryDirectoryHelpText: 'Das Verzeichnis der Mercurial-Repositories.',
pythonPathHelpText: 'Python Modul Suchpfad (PYTHONPATH).',
repositoryDirectoryHelpText: 'Verzeichnis der Mercurial-Repositories.',
useOptimizedBytecodeHelpText: 'Optimierten Bytecode verwenden (python -O).'
});

View File

@@ -38,7 +38,7 @@ Sonia.svn.ConfigPanel = Ext.extend(Sonia.config.SimpleConfigForm, {
repositoryDirectoryText: 'Repository directory',
// helpTexts
repositoryDirectoryHelpText: 'The location of the Suberversion repositories.',
repositoryDirectoryHelpText: 'Location of the Suberversion repositories.',
initComponent: function(){
@@ -73,7 +73,7 @@ if ( i18n != null && i18n.country == 'de' ){
repositoryDirectoryText: 'Repository-Verzeichnis',
// helpTexts
repositoryDirectoryHelpText: 'Das Verzeichnis der Subversion-Repositories.'
repositoryDirectoryHelpText: 'Verzeichnis der Subversion-Repositories.'
});