jow- / luci-ng

LuCI on Angular
84 stars 26 forks source link

Add backup page #8

Closed feckert closed 8 years ago

feckert commented 8 years ago

Add Backup page to luci2.

jow- commented 8 years ago

Great work @feckert, I've just a few remarks:

feckert commented 8 years ago

Hello Jow,

  1. yes i can do this. In the future is there a plan to make it multi language? If yes what is your preferred implementation. Maybe I can do it multi language for this module first.
  2. Good remark i have already notice this and it is not very smart how i did this. Maybe it is better to make a token factory to get/set token from every submodule who need it?
  3. Why? is FormData not available on every Browser?
jow- commented 8 years ago

Yes, I plan to support localization. Note that we already use angular gettext so in order to start translating strings you'd need to follow https://angular-gettext.rocketeer.be/dev-guide/getting-started/

I didn't invest any time in translation yet though as it is a mostly moving target at this point in time.

feckert commented 8 years ago

Hello Jow,

i have edit your remarks. But I m not sure what you mean in your third remarks "FormData". Could you please explain.

Kind Regards

Flo

jow- commented 8 years ago

Forget about my FormData comment, I've checked and all recent browsers are implementing it properly. Thanks for your PR!