61 "R": "VcsReplaced", |
61 "R": "VcsReplaced", |
62 "U": "VcsUpdate", |
62 "U": "VcsUpdate", |
63 "Z": "VcsConflict", |
63 "Z": "VcsConflict", |
64 } |
64 } |
65 self.vcsStatusText = { |
65 self.vcsStatusText = { |
66 " ": self.trUtf8("up to date"), |
66 " ": self.tr("up to date"), |
67 "A": self.trUtf8("files added"), |
67 "A": self.tr("files added"), |
68 "M": self.trUtf8("local modifications"), |
68 "M": self.tr("local modifications"), |
69 "O": self.trUtf8("files removed"), |
69 "O": self.tr("files removed"), |
70 "R": self.trUtf8("files replaced"), |
70 "R": self.tr("files replaced"), |
71 "U": self.trUtf8("update required"), |
71 "U": self.tr("update required"), |
72 "Z": self.trUtf8("conflict"), |
72 "Z": self.tr("conflict"), |
73 } |
73 } |
74 self.__vcsStateChanged(" ") |
74 self.__vcsStateChanged(" ") |
75 |
75 |
76 # step 1: create all the individual browsers |
76 # step 1: create all the individual browsers |
77 from .ProjectSourcesBrowser import ProjectSourcesBrowser |
77 from .ProjectSourcesBrowser import ProjectSourcesBrowser |
377 else: |
377 else: |
378 self.vcsStatusIndicator.setColor( |
378 self.vcsStatusIndicator.setColor( |
379 Preferences.getProjectBrowserColour( |
379 Preferences.getProjectBrowserColour( |
380 self.vcsStatusColorNames[state])) |
380 self.vcsStatusColorNames[state])) |
381 if state not in self.vcsStatusText: |
381 if state not in self.vcsStatusText: |
382 self.vcsStatusIndicator.setToolTip(self.trUtf8("unknown status")) |
382 self.vcsStatusIndicator.setToolTip(self.tr("unknown status")) |
383 else: |
383 else: |
384 self.vcsStatusIndicator.setToolTip(self.vcsStatusText[state]) |
384 self.vcsStatusIndicator.setToolTip(self.vcsStatusText[state]) |