goploader
goploader copied to clipboard
Language support
If its not a huge work maybe there could be a language file so we can have all the visible parts there then its easy to manage in the future.
That wouldn't be too hard I think, except if you want the documentation translated too.
Noo noo just the basic stuff like the buttons. Basically the stuff a user can see in "sensitive_mode: true"
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 :)
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 :)
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.
Oh sorry. I get it now. No need to hurry :)