-
Notifications
You must be signed in to change notification settings - Fork 7
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
fix readme and internationalize #12
base: master
Are you sure you want to change the base?
Conversation
@simong can you take a look at this |
@@ -9,20 +9,22 @@ It provides a way to do: | |||
|
|||
You will need to set the `requireSession` and `editOnly` values to `true` in etherpad's `settings.json` file. | |||
|
|||
It's recommended to also add in a `sessionKey`. This can be any random value, but should be the same across the cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this no longer recommended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's now recommended to have a SESSIONKEY.txt file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I had it in the settings.json I got this deprecation warning:
[2015-06-10 09:21:46.175] [WARN] console - Declaring the sessionKey in the settings.json is deprecated. This value is auto-generated now. Please remove the setting from the file.
The other changes LGTM, back to @stuartf fort the crowdin syncing |
Added crowdin sync script, it just pulls from crowdin currently (doesn't push existing translations back) |
Crowdin sync script now uploads keys and translations before downloading. Ready for review. |
@@ -0,0 +1,98 @@ | |||
/*! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My preference would be to align this key synchronisation script a lot more with the 3akai-ux synchronisation script. I don't have a strong opinion about whether we use the crowdin JAR file or the node library, but I do think we should pick one that was use in both places to avoid having to maintain 2 completely different approaches. The 3akai-ux synchronisation script also does some things (e.g. removing empty translation files) which this should be doing.
@stuartf : What would be the best approach to aligning these more?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does remove the empty translation files.
I think the 3akai-ux sync script might be simplified by using the npm crowdin module, but there are differences in how the two projects handle translations so they can't just use the same script. I.E. 3akai-ux uses properties files and needs the manifest files updated with a list of translations, ep_oae uses json files and they all just live in the locales directory.
Finished review. I'll do a more detailed review once the synchronisation approaches have been aligned. Back to @stuartf |
I've removed the config file and made the apiKey get passed in on the command line. So, this is ready for more review. |
No description provided.