Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add locale to categories #336

Merged
merged 3 commits into from
Jun 20, 2018
Merged

Add locale to categories #336

merged 3 commits into from
Jun 20, 2018

Conversation

Lsdenis
Copy link
Contributor

@Lsdenis Lsdenis commented Jun 8, 2018

Allow API download content of the categories in locale if specified.

@CLAassistant
Copy link

CLAassistant commented Jun 8, 2018

CLA assistant check
All committers have signed the CLA.

@AppVeyorBot
Copy link

Copy link
Member

@mozts2005 mozts2005 left a comment

Choose a reason for hiding this comment

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

Love the simple way this works

@@ -30,6 +30,10 @@ public class Categories : Core, ICategories
{
private string Locale { get; set; }

private string CategoriesPath => string.IsNullOrEmpty(Locale)
Copy link
Member

Choose a reason for hiding this comment

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

What about when the Locale is set to whitespace?
Maybe we should change this to be

string.IsNullOrWhitespace()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agree, done!
Thanks :)

@AppVeyorBot
Copy link

Copy link
Contributor Author

@Lsdenis Lsdenis left a comment

Choose a reason for hiding this comment

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

Done.

@Lsdenis
Copy link
Contributor Author

Lsdenis commented Jun 13, 2018

I added more locale based stuff and rework what I did before.

@AppVeyorBot
Copy link

@mozts2005 mozts2005 merged commit ae5c61b into Speedygeek:master Jun 20, 2018
@mozts2005 mozts2005 added this to the 3.9.0 milestone Jun 23, 2018
abc516 pushed a commit to abc516/ZendeskApi_v2 that referenced this pull request Oct 30, 2019
* Add locale to categories

* Change check for localization been added

* Add more locale based stuff
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.

4 participants