GithubHelp home page GithubHelp logo

Language support about goploader HOT 6 OPEN

rka avatar rka commented on May 24, 2024
Language support

from goploader.

Comments (6)

Depado avatar Depado commented on May 24, 2024

That wouldn't be too hard I think, except if you want the documentation translated too.

from goploader.

rka avatar rka commented on May 24, 2024

Noo noo just the basic stuff like the buttons. Basically the stuff a user can see in "sensitive_mode: true"

from goploader.

Depado avatar Depado commented on May 24, 2024

Something like :

translation:
    upload_button: "Upload"
    type_button: 
        - "File"
        - "Text"
    restriction_button:
        - "No Restriction"
        - "One Download"
    file_chooser: "Choose a file..."
    text_placeholder: "Paste your text here..."
    summary_template: "Your file will live for {} and will be visible {}. Maximum size : {}"

The only problem there is the lifetime selector. As this will be dynamically generated, I don't know how I could provide a translation system. I'll try to think of something, tell me if my proposal for the configuration file looks good to you :)

from goploader.

rka avatar rka commented on May 24, 2024

looks awesome thanks in advance :) Well the lifetime selector is kinda the same as the buttons no? Just have to break it in 2 maybe. And the max size at the and is only in the html.

Your file will live for 1 hour and will be visible only once. Maximum size : 3000MB
A feltöltött fájl 1 óra-ig lesz elérhető egyszeri letöltésre. Maximum feltölthető fájl méret: 3000MB

Part1 <time> Part2 <restriction>. Maximum size: <value>

var sum = "Part 1 " + $("#duration option:selected").text() + "Part 2";

I have no background in coding so sorry if that is totally wrong :)

from goploader.

Depado avatar Depado commented on May 24, 2024

No what I meant was that, related to #35, the list of available lifetimes will be dynamic. But the translation could be added when declaring the lifetimes available. I'll give some tries on that one. That's planned for 1.2 released, so maybe in a couple weeks.

from goploader.

rka avatar rka commented on May 24, 2024

Oh sorry. I get it now. No need to hurry :)

from goploader.

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.