Giter Club home page Giter Club logo

Comments (10)

nickvergessen avatar nickvergessen commented on June 18, 2024

Might be caused by missing transifex setup. If not I will try to find out on wednesday (althought it works for me atm)

from activity.

requist avatar requist commented on June 18, 2024

missing transifex setup, doesn't ring a bell, but maybe that is part of the problem? ;-)

from activity.

nickvergessen avatar nickvergessen commented on June 18, 2024

@requist that is something we need to fix: #34

from activity.

vgezer avatar vgezer commented on June 18, 2024

@nickvergessen This is due to use of %1$s and %2$s. As we have double quotes for strings, php parses $s as a variable. We should escape $s like \$, but I don't know how the translators will be aware of this. cc @DeepDiver1975

from activity.

nickvergessen avatar nickvergessen commented on June 18, 2024

ah okay, will have a look again

from activity.

nickvergessen avatar nickvergessen commented on June 18, 2024

I think we can work around this quite easily

from activity.

vgezer avatar vgezer commented on June 18, 2024

We can replace them with %s, but this will fix the argument locations.

from activity.

requist avatar requist commented on June 18, 2024

I have updated the code of core and activity but my activity screen is still the same.

The errors in the log changed slightly though, so maybe it's actually a new error with similar behavior:

Error   PHP     Method OC_L10N_String::__toString() must return a string value at /usr/share/owncloud/lib/private/template/functions.php#23     May 28, 2014 19:44:20
Error   PHP     vsprintf(): Too few arguments at /usr/share/owncloud/lib/private/l10n/string.php#57     May 28, 2014 19:44:20
Error   PHP Invalid argument supplied for foreach() at /usr/share/owncloud/apps/activity/lib/datahelper.php#41  May 28, 2014 19:44:20
Error   PHP Method OC_L10N_String::__toString() must return a string value at /usr/share/owncloud/lib/private/util.php#862

from activity.

vgezer avatar vgezer commented on June 18, 2024

@requist For the translation changes you have to wait until tomorrow :). In addition, there is another issue with the translations which you can follow from here

from activity.

requist avatar requist commented on June 18, 2024

Ah, yes I see now, when I saw close my eye's did the same ;-)
I'll wait for #37 to be merged to check again.

Thx!

from activity.

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.