Skip to content
This repository has been archived by the owner. It is now read-only.

Added function hasTranslation #19

Closed
wants to merge 1 commit into from

Conversation

@xaoc-303
Copy link

commented May 20, 2014

this function checks if there is a translation

@dimsav

This comment has been minimized.

Copy link
Owner

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

This comment has been minimized.

Copy link
Owner

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 xaoc-303:feature branch May 23, 2014

@maciekish

This comment has been minimized.

Copy link

commented Sep 20, 2014

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

This comment has been minimized.

Copy link
Owner

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.
Projects
None yet
3 participants
You can’t perform that action at this time.