mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
capitalize Git in display strings
(cherry picked from commit 68869f6439b6e600db18cf13d0a464f9567e541e)
This commit is contained in:
parent
55aeca477d
commit
38dcfdc350
@ -1627,7 +1627,7 @@ void PROJECT_TREE_PANE::onGitInitializeProject( wxCommandEvent& aEvent )
|
||||
wxWindow* topLevelParent = wxGetTopLevelParent( this );
|
||||
|
||||
DisplayInfoMessage( topLevelParent,
|
||||
_( "The selected directory is already a git project." ) );
|
||||
_( "The selected directory is already a Git project." ) );
|
||||
git_repository_free( repo );
|
||||
return;
|
||||
}
|
||||
@ -1649,7 +1649,7 @@ void PROJECT_TREE_PANE::onGitInitializeProject( wxCommandEvent& aEvent )
|
||||
if( m_gitLastError != git_error_last()->klass )
|
||||
{
|
||||
m_gitLastError = git_error_last()->klass;
|
||||
DisplayErrorMessage( m_parent, _( "Failed to initialize git project." ),
|
||||
DisplayErrorMessage( m_parent, _( "Failed to initialize Git project." ),
|
||||
git_error_last()->message );
|
||||
}
|
||||
|
||||
@ -1915,7 +1915,7 @@ void PROJECT_TREE_PANE::onGitRemoveVCS( wxCommandEvent& aEvent )
|
||||
|
||||
if( !repo
|
||||
|| !IsOK( wxGetTopLevelParent( this ),
|
||||
_( "Are you sure you want to remove git tracking from this project?" ) ) )
|
||||
_( "Are you sure you want to remove Git tracking from this project?" ) ) )
|
||||
{
|
||||
return;
|
||||
}
|
||||
@ -1932,7 +1932,7 @@ void PROJECT_TREE_PANE::onGitRemoveVCS( wxCommandEvent& aEvent )
|
||||
|
||||
if( !RmDirRecursive( fn.GetPath(), &errors ) )
|
||||
{
|
||||
DisplayErrorMessage( m_parent, _( "Failed to remove git directory" ), errors );
|
||||
DisplayErrorMessage( m_parent, _( "Failed to remove Git directory" ), errors );
|
||||
}
|
||||
|
||||
// Clear all item states
|
||||
@ -2233,7 +2233,7 @@ void PROJECT_TREE_PANE::onGitCommit( wxCommandEvent& aEvent )
|
||||
|
||||
if( repo == nullptr )
|
||||
{
|
||||
wxMessageBox( "The selected directory is not a git project." );
|
||||
wxMessageBox( _( "The selected directory is not a Git project." ) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user