Skip to content

Conversation

jaigak
Copy link
Contributor

@jaigak jaigak commented Aug 18, 2020

  • Now when you share a single item, the item name will be mentioned.
  • Sharing multiple items will show how many items are being shared.
  • Share menu item is now disable on unsupported devices (e.g. Xbox). This is the first step in making Files UWP truly universal across Windows devices.
  • All strings related to the share dialog are localized.

@yaira2 yaira2 self-requested a review August 18, 2020 14:32
@jaigak
Copy link
Contributor Author

jaigak commented Aug 18, 2020

@tsvietOK No space is required otherwise it will appear like 'Sharing 1items'.

<target state="new">The selected item will be shared</target>
</trans-unit>
<trans-unit id="ShareDialogTitle" translate="yes" xml:space="preserve">
<source>Sharing {0}</source>
Copy link
Contributor

Choose a reason for hiding this comment

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

It is better to use Sharing {0} {1} and string.Format(ResourceController.GetTranslation("ShareDialogTitle"), items.Count, ResourceController.GetTranslation("ItemsCount.Text"))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

Choose a reason for hiding this comment

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

Please, update translation files too.

@ghost ghost added the needs - code review label Aug 18, 2020
@yaira2 yaira2 changed the title Improving share option Added strings for the share dialog Aug 18, 2020
@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed needs - code review labels Aug 18, 2020
@yaira2 yaira2 merged commit 3572d39 into files-community:master Aug 18, 2020
yaira2 added a commit that referenced this pull request Aug 18, 2020
@jaigak jaigak deleted the Sharing branch August 19, 2020 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants