Skip to content

Conversation

@stuartf
Copy link

@stuartf stuartf commented Jun 10, 2015

No description provided.

@stuartf
Copy link
Author

stuartf commented Jun 10, 2015

@simong can you take a look at this

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?

Copy link
Contributor

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

Copy link
Author

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.

@simong
Copy link
Contributor

simong commented Jun 11, 2015

The other changes LGTM, back to @stuartf fort the crowdin syncing

@simong simong assigned stuartf and unassigned simong Jun 11, 2015
@stuartf
Copy link
Author

stuartf commented Jun 16, 2015

Added crowdin sync script, it just pulls from crowdin currently (doesn't push existing translations back)

@stuartf
Copy link
Author

stuartf commented Jun 18, 2015

Crowdin sync script now uploads keys and translations before downloading. Ready for review.

@stuartf stuartf assigned simong and unassigned stuartf Jun 24, 2015

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?

Copy link
Author

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.

@nicolaasmatthijs
Copy link

Finished review. I'll do a more detailed review once the synchronisation approaches have been aligned. Back to @stuartf

@nicolaasmatthijs nicolaasmatthijs assigned stuartf and unassigned simong Jun 25, 2015
@stuartf
Copy link
Author

stuartf commented Jun 26, 2015

I've removed the config file and made the apiKey get passed in on the command line. So, this is ready for more review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants