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

View File

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

View File

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