Skip to content

Bubble up conflicts - #4641

Merged
dragotin merged 4 commits into
masterfrom
bubbleUpConflicts
Apr 6, 2016
Merged

dragotin merged 4 commits into
masterfrom
bubbleUpConflicts

Conversation

@dragotin

@dragotin dragotin commented Apr 5, 2016

Copy link
Copy Markdown
Contributor

This pull request shows a tray message if conflicts happened. fixes #3222

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @ogoffart, @ckamm and @danimo to be potential reviewers

Comment thread src/gui/folder.cpp Outdated
break;
case LogStatusConflict:
if( count > 1 ) {
text = tr("%1 has and %2 other files have sync conflict.").arg(file, count-1);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't thik this prints what you think it prints. the second parameter to your arg is the fieldWidth. Also the text reads weird.
I'd write:

tr("%1 and %n other files have sync conflict.", "", count-1).arg(file)

@dragotin

dragotin commented Apr 6, 2016

Copy link
Copy Markdown
Contributor Author

@ogoffart thanks, I pushed a fix.

@ogoffart

ogoffart commented Apr 6, 2016

Copy link
Copy Markdown
Contributor

👍 code looks good to me.

@guruz

guruz commented Apr 6, 2016

Copy link
Copy Markdown
Contributor

👍

@dragotin
dragotin merged commit 52a5234 into master Apr 6, 2016
@ogoffart
ogoffart deleted the bubbleUpConflicts branch April 21, 2016 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inform User about Conflict File creation

4 participants