Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Implement #693, fixed some suggestions from #883 (v2) #1447

Merged

Conversation

pstasiak
Copy link
Contributor

#693

Squashed and changed destination branch version of #1443

@@ -81,8 +81,6 @@
*/
- (NSUInteger)messageHash;

@optional
Copy link
Owner

Choose a reason for hiding this comment

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

oops. this shouldn't have been removed.


my previous comment was for removing @optional from JSQMessageMediaData.h. however, let's actually leave JSQMessageMediaData.h how you have it, since copying JSQVideoMediaItem is not yet implemented

@jessesquires
Copy link
Owner

Thanks so much @pstasiak !

  • 1 last comment
  • 1 question: is it possible to provide an apple maps URL for location items? that seems like a more sensible library default. if not, the google URL is good!

Don't worry about squashing for these updates! 😄

@pstasiak
Copy link
Contributor Author

is it possible to provide an apple maps URL for location items?

It was possible :) The only thing is that we are not providing any annotation title for now (JSQLocationMediaItem doesn't utilize title; other option is to add localized string like "location").

@jessesquires I will squash again when you are happy with my changes :)

@jessesquires
Copy link
Owner

The only thing is that we are not providing any annotation title for now (JSQLocationMediaItem doesn't utilize title; other option is to add localized string like "location").

Is this something we can add to JSQLocationMediaItem?

@jessesquires
Copy link
Owner

Ping @pstasiak 😄 😄

@pstasiak
Copy link
Contributor Author

Oh, thanks for pinging @jessesquires ;)

Is this something we can add to JSQLocationMediaItem?

I don't feel that adding custom field to JSQLocationMediaItem is something in scope of this PR. I could add static localized string for now (MVP, right ;)?), but I'm unable to provide translations in all supported languages. How do you manage translations?

@jessesquires
Copy link
Owner

Got it 👍

How do you manage translations?

This is all community provided. Anything not there will default to en. But, there are hooks for clients to override existing strings and completely opt-out of localization.

jessesquires added a commit that referenced this pull request Feb 24, 2016
@jessesquires jessesquires merged commit 349a5bf into jessesquires:release_8.0 Feb 24, 2016
@jessesquires
Copy link
Owner

thanks again @pstasiak ! 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants