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

Added function hasTranslation #19

Closed
wants to merge 1 commit into from
Closed

Conversation

xaoc-303
Copy link

this function checks if there is a translation

@dimsav
Copy link
Owner

dimsav commented May 21, 2014

Cool, thanks! Could you also add the tests to keep the coverage to 100% ?

dimsav added a commit that referenced this pull request May 22, 2014
@dimsav
Copy link
Owner

dimsav commented May 22, 2014

It's ok. I did it for you.

Thanks :)

@dimsav dimsav closed this May 22, 2014
@xaoc-303 xaoc-303 deleted the feature branch May 23, 2014 16:35
@maciekish
Copy link

Appreciate the effort but this doesn't seem to be working. I have two demo items, one in 'sv' and one in 'en' but i get true back from this function every time :(

If i try to get the actual property one returns the translation and the other returns NULL so it clearly isn't translated. Bug or me doing something wrong?

@dimsav
Copy link
Owner

dimsav commented Sep 22, 2014

Please open a new issue.

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

Successfully merging this pull request may close these issues.

3 participants