Skip to content

Conversation

@XTorLukas
Copy link
Contributor

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

TODO list: #15503 (comment)

Stage three

☑️ PropertiesFilesAndFoldersCountString ----> PropertiesFilesAndFoldersCountString

<data name="PropertiesFilesAndFoldersCountString" xml:space="preserve">
<value>{0:#,##0} files, {1:#,##0} folders</value>
</data>

☑️ PropertiesFilesFoldersAndLocationsCountString ----> PropertiesLocationsCountString

<data name="PropertiesFilesFoldersAndLocationsCountString" xml:space="preserve">
<value>{0:#,##0} files, {1:#,##0} folders from {2:#,##0} locations</value>
</data>

@XTorLukas
Copy link
Contributor Author

XTorLukas commented May 30, 2024

Test results

image
image
image
image
image

@XTorLukas XTorLukas marked this pull request as draft May 30, 2024 18:53
@XTorLukas XTorLukas marked this pull request as ready for review May 30, 2024 18:56
Copy link
Member

@0x5bfa 0x5bfa left a comment

Choose a reason for hiding this comment

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

Code wise good.

We have three extension methods:

  • GetLocalizedResource
  • GetLocalized
  • GetLocalizedFormatResource

This is redundant, could they be merged?

@yaira2
Copy link
Member

yaira2 commented May 30, 2024

Code wise good.

We have three extension methods:

  • GetLocalizedResource
  • GetLocalized
  • GetLocalizedFormatResource

This is redundant, could they be merged?

Please!

@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label May 30, 2024
@yaira2 yaira2 merged commit 8697522 into files-community:main May 30, 2024
@XTorLukas XTorLukas deleted the xtorlukas/CQ-ICUMessagePropertiesCount branch May 30, 2024 19:34
@XTorLukas
Copy link
Contributor Author

Code wise good.

We have three extension methods:

  • GetLocalizedResource
  • GetLocalized
  • GetLocalizedFormatResource

This is redundant, could they be merged?

Yes Yes although I already counted on it, and the GetLocalizedFormatResource method handles everything

@XTorLukas
Copy link
Contributor Author

After rename to global one GetLocalized

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.

4 participants