Giter VIP home page Giter VIP logo

Comments (17)

rakekniven avatar rakekniven commented on May 22, 2024

There is another one.

See

<string name="about_source">This project is hosted on GitHub: &lt;a href="%1$s">%1$s&lt;/a></string>

from nextcloud-deck.

rakekniven avatar rakekniven commented on May 22, 2024

Next one:

<string name="about_version">You are currently using &lt;strong>%1$s&lt;/strong></string>

from nextcloud-deck.

rakekniven avatar rakekniven commented on May 22, 2024

Another one:

<string name="about_translators_transifex">Nextcloud community on &lt;a href="%1$s">Transifex&lt;/a></string>

from nextcloud-deck.

rakekniven avatar rakekniven commented on May 22, 2024

One more:

<string name="about_issues">You can report bugs, enhancement proposals and feature requests at the GitHub issue tracker: &lt;a href="%1$s">%1$s&lt;/a></string>

from nextcloud-deck.

rakekniven avatar rakekniven commented on May 22, 2024

Next:

<string name="about_translate">Join the Nextcloud team on Transifex and help us to translate this app: &lt;a href="%1$s">%1$s&lt;/a></string>

from nextcloud-deck.

stefan-niedermann avatar stefan-niedermann commented on May 22, 2024

Thank you for the hint, i will fix asap :)

from nextcloud-deck.

tobiasKaminsky avatar tobiasKaminsky commented on May 22, 2024

@stefan-niedermann to have links correctly and clickable displayed, you can have a look how we do it in our "participate view":

https://github.com/nextcloud/android/blob/59cf6b9ba4965f38f2749f0624013daf0b83c946/src/main/java/com/owncloud/android/ui/activity/ParticipateActivity.java#L72-L77

This is "forum":
2019-01-04-131242

from nextcloud-deck.

rakekniven avatar rakekniven commented on May 22, 2024

Any update on here?

from nextcloud-deck.

stefan-niedermann avatar stefan-niedermann commented on May 22, 2024

@rakekniven yes, @tobiasKaminsky fixed today the bad translations on transifex (there have been some spaces where they shouldn't have been)

The encoding you mentioned in the first few posts ist fine, because it is HTML embedded in the XML - therefore the <-characters in the HTML-tags have to be encoded.

from nextcloud-deck.

rakekniven avatar rakekniven commented on May 22, 2024

To be honest I am not satisfied with the answer.
The encoding looks bad at Transifex. See
2019-03-16_08h54_35

There should be another way to handle URLs. I cannot judge the comment by @tobiasKaminsky from technical side. Currently we only have such strange strings for this app at Transifex.

I am unable to open this issue again.

from nextcloud-deck.

stefan-niedermann avatar stefan-niedermann commented on May 22, 2024

Well that's the same way, we are handling for Nextcloud Notes (android) which works pretty good with transifx.

Pull Requests for changing this behavior are welcome :)

from nextcloud-deck.

tobiasKaminsky avatar tobiasKaminsky commented on May 22, 2024

We could think about splitting this up:
text + &lt;href=" + url + ">Name + &lt;/a>

where

  • text, name is in transifex
  • url is in setup.xml (as an example) with translatable=false
  • both &lt… are also with translatable=false and constants, e.g. link_start _link_end

This way no one could do any error again (like we saw on japanese)

from nextcloud-deck.

stefan-niedermann avatar stefan-niedermann commented on May 22, 2024

Okay, i agree.

from nextcloud-deck.

stefan-niedermann avatar stefan-niedermann commented on May 22, 2024

tracked in #68

from nextcloud-deck.

tobiasKaminsky avatar tobiasKaminsky commented on May 22, 2024

Ha, I see now that this was my idea 🤣

from nextcloud-deck.

stefan-niedermann avatar stefan-niedermann commented on May 22, 2024

i was just about to write exactly this :D

from nextcloud-deck.

rakekniven avatar rakekniven commented on May 22, 2024

Nice catch. Happy to get this solved.

from nextcloud-deck.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.