mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 01:15:44 +01:00
german localization for svn, git, hg and bzr plugin
This commit is contained in:
@@ -86,6 +86,30 @@ Sonia.bzr.ConfigPanel = Ext.extend(Sonia.config.SimpleConfigForm, {
|
|||||||
|
|
||||||
Ext.reg("bzrConfigPanel", Sonia.bzr.ConfigPanel);
|
Ext.reg("bzrConfigPanel", Sonia.bzr.ConfigPanel);
|
||||||
|
|
||||||
|
// i18n
|
||||||
|
|
||||||
|
if ( i18n != null && i18n.country == 'de' ){
|
||||||
|
|
||||||
|
Ext.override(Sonia.hg.ConfigPanel, {
|
||||||
|
|
||||||
|
// labels
|
||||||
|
titleText: 'Bazaar Settings',
|
||||||
|
bzrBinaryText: 'Bzr Pfad',
|
||||||
|
pythonBinary: 'Python Pfad',
|
||||||
|
pythonPath: 'Python Modul Suchpfad',
|
||||||
|
repositoryDirectoryText: 'Repository-Verzeichnis',
|
||||||
|
|
||||||
|
// helpTexts
|
||||||
|
bzrBinaryHelpText: 'Pfad zum "bzr" Befehl.',
|
||||||
|
pythonBinaryHelpText: 'Pfad zum "python" Befehl.',
|
||||||
|
pythonPathHelpText: 'Der Python Modul Suchpfad (PYTHONPATH).',
|
||||||
|
repositoryDirectoryHelpText: 'The location of the Bazaar repositories.'
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// register panel
|
||||||
|
|
||||||
registerConfigPanel({
|
registerConfigPanel({
|
||||||
xtype : 'bzrConfigPanel'
|
xtype : 'bzrConfigPanel'
|
||||||
|
|||||||
@@ -62,6 +62,25 @@ Sonia.git.ConfigPanel = Ext.extend(Sonia.config.SimpleConfigForm, {
|
|||||||
|
|
||||||
Ext.reg("gitConfigPanel", Sonia.git.ConfigPanel);
|
Ext.reg("gitConfigPanel", Sonia.git.ConfigPanel);
|
||||||
|
|
||||||
|
// i18n
|
||||||
|
|
||||||
|
if ( i18n != null && i18n.country == 'de' ){
|
||||||
|
|
||||||
|
Ext.override(Sonia.git.ConfigPanel, {
|
||||||
|
|
||||||
|
// labels
|
||||||
|
titleText: 'Git Einstellungen',
|
||||||
|
repositoryDirectoryText: 'Repository-Verzeichnis',
|
||||||
|
|
||||||
|
// helpTexts
|
||||||
|
repositoryDirectoryHelpText: 'Das Verzeichnis der Git-Repositories.'
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// register panel
|
||||||
|
|
||||||
registerConfigPanel({
|
registerConfigPanel({
|
||||||
xtype : 'gitConfigPanel'
|
xtype : 'gitConfigPanel'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -38,15 +38,16 @@ Sonia.hg.ConfigPanel = Ext.extend(Sonia.config.ConfigForm, {
|
|||||||
titleText: 'Mercurial Settings',
|
titleText: 'Mercurial Settings',
|
||||||
hgBinaryText: 'HG Binary',
|
hgBinaryText: 'HG Binary',
|
||||||
pythonBinaryText: 'Python Binary',
|
pythonBinaryText: 'Python Binary',
|
||||||
pythonPathText: 'Python Path',
|
pythonPathText: 'Python Module Search Path',
|
||||||
repositoryDirectoryText: 'Repository directory',
|
repositoryDirectoryText: 'Repository directory',
|
||||||
useOptimizedBytecodeText: 'Optimized Bytecode (.pyo)',
|
useOptimizedBytecodeText: 'Optimized Bytecode (.pyo)',
|
||||||
autoConfigText: 'Load Auto-Configuration',
|
autoConfigText: 'Load Auto-Configuration',
|
||||||
|
autoConfigLabelText: 'Auto-Configuration',
|
||||||
|
|
||||||
// helpText
|
// helpText
|
||||||
hgBinaryHelpText: 'The location of the Mercurial binary.',
|
hgBinaryHelpText: 'The location of the Mercurial binary.',
|
||||||
pythonBinaryHelpText: 'The location of the Python binary.',
|
pythonBinaryHelpText: 'The location of the Python binary.',
|
||||||
pythonPathHelpText: 'The Python path.',
|
pythonPathHelpText: 'The Python Module Search Path (PYTHONPATH).',
|
||||||
repositoryDirectoryHelpText: 'The location of the Mercurial repositories.',
|
repositoryDirectoryHelpText: 'The location of the Mercurial repositories.',
|
||||||
useOptimizedBytecodeHelpText: 'Use the Python "-O" switch.',
|
useOptimizedBytecodeHelpText: 'Use the Python "-O" switch.',
|
||||||
|
|
||||||
@@ -86,7 +87,7 @@ Sonia.hg.ConfigPanel = Ext.extend(Sonia.config.ConfigForm, {
|
|||||||
},{
|
},{
|
||||||
xtype: 'button',
|
xtype: 'button',
|
||||||
text: this.autoConfigText,
|
text: this.autoConfigText,
|
||||||
fieldLabel: 'Auto-Configuration',
|
fieldLabel: this.autoConfigLabelText,
|
||||||
handler: function(){
|
handler: function(){
|
||||||
var self = Ext.getCmp('hgConfigForm');
|
var self = Ext.getCmp('hgConfigForm');
|
||||||
self.loadConfig( self.el, 'config/repositories/hg/auto-configuration.json', 'POST' );
|
self.loadConfig( self.el, 'config/repositories/hg/auto-configuration.json', 'POST' );
|
||||||
@@ -150,6 +151,35 @@ Sonia.hg.ConfigPanel = Ext.extend(Sonia.config.ConfigForm, {
|
|||||||
|
|
||||||
Ext.reg("hgConfigPanel", Sonia.hg.ConfigPanel);
|
Ext.reg("hgConfigPanel", Sonia.hg.ConfigPanel);
|
||||||
|
|
||||||
|
// i18n
|
||||||
|
|
||||||
|
if ( i18n != null && i18n.country == 'de' ){
|
||||||
|
|
||||||
|
Ext.override(Sonia.hg.ConfigPanel, {
|
||||||
|
|
||||||
|
// labels
|
||||||
|
titleText: 'Mercurial Einstellungen',
|
||||||
|
hgBinaryText: 'HG Pfad',
|
||||||
|
pythonBinaryText: 'Python Pfad',
|
||||||
|
pythonPathText: 'Python Modul Suchpfad',
|
||||||
|
repositoryDirectoryText: 'Repository-Verzeichnis',
|
||||||
|
useOptimizedBytecodeText: 'Optimierter Bytecode (.pyo)',
|
||||||
|
autoConfigText: 'Einstellungen automatisch laden',
|
||||||
|
autoConfigLabelText: 'Automatische Einstellung',
|
||||||
|
|
||||||
|
// helpText
|
||||||
|
hgBinaryHelpText: 'Pfad zum "hg" Befehl.',
|
||||||
|
pythonBinaryHelpText: 'Pfad zum "python" Befehl.',
|
||||||
|
pythonPathHelpText: 'Der Python Modul Suchpfad (PYTHONPATH).',
|
||||||
|
repositoryDirectoryHelpText: 'Das Verzeichnis der Mercurial-Repositories.',
|
||||||
|
useOptimizedBytecodeHelpText: 'Optimierten Bytecode verwenden (python -O).'
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// register panel
|
||||||
|
|
||||||
registerConfigPanel({
|
registerConfigPanel({
|
||||||
id: 'hgConfigForm',
|
id: 'hgConfigForm',
|
||||||
xtype : 'hgConfigPanel'
|
xtype : 'hgConfigPanel'
|
||||||
|
|||||||
@@ -62,6 +62,25 @@ Sonia.svn.ConfigPanel = Ext.extend(Sonia.config.SimpleConfigForm, {
|
|||||||
|
|
||||||
Ext.reg("svnConfigPanel", Sonia.svn.ConfigPanel);
|
Ext.reg("svnConfigPanel", Sonia.svn.ConfigPanel);
|
||||||
|
|
||||||
|
// i18n
|
||||||
|
|
||||||
|
if ( i18n != null && i18n.country == 'de' ){
|
||||||
|
|
||||||
|
Ext.override(Sonia.hg.ConfigPanel, {
|
||||||
|
|
||||||
|
// labels
|
||||||
|
titleText: 'Subversion Einstellungen',
|
||||||
|
repositoryDirectoryText: 'Repository-Verzeichnis',
|
||||||
|
|
||||||
|
// helpTexts
|
||||||
|
repositoryDirectoryHelpText: 'Das Verzeichnis der Subversion-Repositories.'
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// register panel
|
||||||
|
|
||||||
registerConfigPanel({
|
registerConfigPanel({
|
||||||
xtype : 'svnConfigPanel'
|
xtype : 'svnConfigPanel'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user