-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Language support #40
Comments
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
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 :) |
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.
The text was updated successfully, but these errors were encountered: