Giter VIP home page Giter VIP logo

Comments (8)

Piernas avatar Piernas commented on June 12, 2024

I'm in process of cleaning up english.php... What a load of useless stuff is in there!!!!
I found some strings used only inside classes. Is is a good idea to load those strings from inside the class instead of the page that uses the class?

from ce-phoenix.

gburton avatar gburton commented on June 12, 2024

When you say "classes" do you mean "modules" ?

from ce-phoenix.

Piernas avatar Piernas commented on June 12, 2024

No, I mean classes, ie. define('JS_ERROR_NO_PAYMENT_MODULE_SELECTED', '* Please select a payment method for your order.\n');
This one is used only in payment.php class

from ce-phoenix.

gburton avatar gburton commented on June 12, 2024

As an example, that one would need to be available in checkout_payment.
You do what you think is correct, and test it. If it all works, push it.

from ce-phoenix.

Piernas avatar Piernas commented on June 12, 2024

Do you know what's the use of JQUERY_DATEPICKER_I18N_CODE?
Seems like it's not implemented

from ce-phoenix.

Piernas avatar Piernas commented on June 12, 2024

english.php done. Moved a lot of text to their corresponding files and removed 38 orphan strings. I'm still in doubt JQUERY_DATEPICKER_I18N_CODE but I'm pretty sure it is not curently in use.

Will test everything and commit changes.

from ce-phoenix.

newburns avatar newburns commented on June 12, 2024

@Piernas
Were you able to submit those changes? I was going to tackle the orphaned strings, but didn't want to do double work

from ce-phoenix.

Piernas avatar Piernas commented on June 12, 2024

@newburns here you have it, but it's probably outdated as some lanuage files has changed since then.
212282a

from ce-phoenix.

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.