Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit d210d20

Browse files
authored
Merge pull request #1070 from github/fixes/1035-pr-list-tooltip
Display "Updated" instead of "Opened" in PR list tooltip.
2 parents 0e8ae75 + ee78503 commit d210d20

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

src/GitHub.VisualStudio.UI/Resources.Designer.cs

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GitHub.VisualStudio.UI/Resources.resx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,9 @@
156156
<data name="gistCreationFailedMessage" xml:space="preserve">
157157
<value>Failed to create gist</value>
158158
</data>
159-
<data name="prOpenedByText" xml:space="preserve">
159+
<data name="prUpdatedByText" xml:space="preserve">
160160
<value>by</value>
161161
</data>
162-
<data name="prOpenedText" xml:space="preserve">
163-
<value>opened</value>
164-
</data>
165162
<data name="Options_PrivacyTitle" xml:space="preserve">
166163
<value>Privacy</value>
167164
</data>
@@ -383,4 +380,7 @@
383380

384381
[Don't show this again](dont-show-again)</value>
385382
</data>
386-
</root>
383+
<data name="prUpdatedText" xml:space="preserve">
384+
<value>Updated</value>
385+
</data>
386+
</root>

src/GitHub.VisualStudio/UI/Views/Controls/PullRequestListItem.xaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
<TextBlock.Text>
124124
<MultiBinding StringFormat="{} {0} {1} {2}">
125125
<Binding Converter="{ui:DurationToStringConverter}" Path="UpdatedAt" />
126-
<Binding Source="{x:Static i18n:Resources.prOpenedByText}" />
126+
<Binding Source="{x:Static i18n:Resources.prUpdatedByText}" />
127127
<Binding Path="Author.Login" />
128128
</MultiBinding>
129129
</TextBlock.Text>
@@ -133,9 +133,9 @@
133133
<TextBlock>
134134
<TextBlock.Text>
135135
<MultiBinding StringFormat="{} {0} {1} {2} {3}">
136-
<Binding Source="{x:Static i18n:Resources.prOpenedText}" />
136+
<Binding Source="{x:Static i18n:Resources.prUpdatedText}" />
137137
<Binding Converter="{ui:DurationToStringConverter}" Path="UpdatedAt" />
138-
<Binding Source="{x:Static i18n:Resources.prOpenedByText}" />
138+
<Binding Source="{x:Static i18n:Resources.prUpdatedByText}" />
139139
<Binding Path="Author.Login" />
140140
</MultiBinding>
141141
</TextBlock.Text>

0 commit comments

Comments
 (0)