Skip to content

Commit

Permalink
Ractive is replaced by Vuejs (#12)
Browse files Browse the repository at this point in the history
* Ractive is replaced by Vuejs 
* Partial fix initialization IITC in tab on start browser #11
* Enabling plugins without reloading the page
* Rename 'UserScripts' category to 'External' #3
* Added localization support
  • Loading branch information
modos189 authored Jul 3, 2019
2 parents aee790c + f5a44f6 commit 1595b43
Show file tree
Hide file tree
Showing 24 changed files with 14,494 additions and 461 deletions.
3 changes: 2 additions & 1 deletion ATTRIBUTION.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
This project is licensed under the permissive [MIT License](LICENSE). Parts imported from other projects remain under their respective licenses:

- [highlight.js; BSD License](https://github.com/highlightjs/highlight.js)
- [highlight.js; BSD License](https://github.com/highlightjs/highlight.js) ([v9.15.8](https://github.com/highlightjs/highlight.js/archive/9.15.8.zip), build `node tools/build.js javascript`)
- [MaterialIcons; Apache License 2.0](https://github.com/google/material-design-icons/issues/786#issuecomment-487055009)
- [Vue.js; MIT License](https://vuejs.org/) ([v2.6.10](https://github.com/vuejs/vue/archive/v2.6.10.zip))
145 changes: 143 additions & 2 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,158 @@
{
"extName": {
"message": "IITC-Button",
"description": "Main title on the Chrome Web Store"
"description": "Name of the extension"
},
"extDescription": {
"message": "Launch IITC for Ingress Intel with ease.",
"description": "Short description on the Chrome Web Store"
"description": "Description of the extension"
},
"lang": {
"message": "en"
},
"titleDefault": {
"message": "Open Intel",
"description": "Title for the button at the application panel"
},
"needRebootIntel": {
"message": "Changes will be applied after rebooting Intel"
},
"updateInProgress": {
"message": "Update in progress…"
},
"changesApplied": {
"message": "Changes were applied"
},
"noData": {
"message": "No data"
},
"addExternalPlugin": {
"message": "Add external plugin"
},
"iitcHomePage": {
"message": "IITC-CE Home page"
},
"iitcTelegram": {
"message": "IITC-CE Telegram channel"
},
"iitcGithub": {
"message": "IITC-CE GitHub repository"
},
"iitcButtonOptions": {
"message": "IITC-CE Button options"
},
"updateNow": {
"message": "update now"
},
"choosingUpdateChannel": {
"message": "Choosing a IITC-CE update channel"
},
"release": {
"message": "Release"
},
"testBuilds": {
"message": "Test builds"
},
"localServer": {
"message": "Local server"
},
"updateFrequency": {
"message": "IITC-CE checks for updates"
},
"updateExternalFrequency": {
"message": "External plugins checks for updates"
},
"every6hours": {
"message": "Every 6 Hours"
},
"every12hours": {
"message": "Every 12 Hours"
},
"everyDay": {
"message": "Every Day"
},
"everyWeek": {
"message": "Every Week"
},
"anyChannel": {
"message": "Any channel:"
},
"badgeExternal": {
"message": "external"
},
"localServerURL": {
"message": "Local server address"
},
"placeholderLocalServer": {
"message": "127.0.0.1"
},
"openSupport": {
"message": "Open support page:"
},
"pluginSave": {
"message": "Save"
},
"pluginDelete": {
"message": "Delete"
},
"notValidUserScript": {
"message": "$PLUGIN_NAME$ is not a valid UserScript.",
"placeholders": {
"plugin_name": {
"content": "$1",
"example": "awesome-plugin.user.js"
}
}
},
"addedUserScript": {
"message": "$PLUGIN_NAME$ has been added to the External category.",
"placeholders": {
"plugin_name": {
"content": "$1",
"example": "awesome-plugin.user.js"
}
}
},
"addressNotAvailable": {
"message": "Address is not available"
},
"errorReadingFile": {
"message": "An error occurred while reading $PLUGIN_NAME$ file.",
"placeholders": {
"plugin_name": {
"content": "$1",
"example": "awesome-plugin.user.js"
}
}
},
"or": {
"message": "or"
},
"dropJSHereOrClick": {
"message": "Drop <i>.js</i> files here or click to upload."
},
"willBeOverwrittenByNewPlugin": {
"message": "Plugin with the same ID will be overwritten by the new plugin."
},
"clickInstallPlugin": {
"message": "This is a IITC plugin. Click install to start using it."
},
"install": {
"message": "Install"
},
"loading": {
"message": "Loading…"
},
"serverNotAvailableRetry": {
"message": "The server is not available. Retry after $NUM$ second",
"placeholders": {
"num": {
"content": "$1",
"example": "5"
}
}
},
"external": {
"message": "External"
}
}
141 changes: 141 additions & 0 deletions _locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,146 @@
},
"titleDefault": {
"message": "Открыть Intel"
},
"needRebootIntel": {
"message": "Применится после перезагрузки Intel"
},
"updateInProgress": {
"message": "Происходит обновление…"
},
"changesApplied": {
"message": "Изменения применены"
},
"noData": {
"message": "Нет данных"
},
"addExternalPlugin": {
"message": "Добавить сторонний плагин"
},
"iitcHomePage": {
"message": "IITC-CE Сайт"
},
"iitcTelegram": {
"message": "IITC-CE Telegram канал"
},
"iitcGithub": {
"message": "IITC-CE GitHub репозиторий"
},
"iitcButtonOptions": {
"message": "Настройки IITC-Кнопки"
},
"updateNow": {
"message": "обновить сейчас"
},
"choosingUpdateChannel": {
"message": "Канал обновлений IITC-CE"
},
"release": {
"message": "Релиз"
},
"testBuilds": {
"message": "Тестовые сборки"
},
"localServer": {
"message": "Локальный сервер"
},
"updateFrequency": {
"message": "Проверка обновлений IITC-CE"
},
"updateExternalFrequency": {
"message": "Проверка обновлений сторонних плагинов"
},
"every6hours": {
"message": "Каждые 6 часов"
},
"every12hours": {
"message": "Каждые 12 часов"
},
"everyDay": {
"message": "Каждый день"
},
"everyWeek": {
"message": "Каждую неделю"
},
"anyChannel": {
"message": "Все каналы:"
},
"badgeExternal": {
"message": "сторонний"
},
"localServerURL": {
"message": "Адрес локального сервера"
},
"placeholderLocalServer": {
"message": "127.0.0.1"
},
"openSupport": {
"message": "Открыть страницу поддержки:"
},
"pluginSave": {
"message": "Сохранить"
},
"pluginDelete": {
"message": "Удалить"
},
"notValidUserScript": {
"message": "$PLUGIN_NAME$ не является валидным пользовательским скриптом.",
"placeholders": {
"plugin_name": {
"content": "$1",
"example": "awesome-plugin.user.js"
}
}
},
"addedUserScript": {
"message": "$PLUGIN_NAME$ добавлен в категорию Сторонние.",
"placeholders": {
"plugin_name": {
"content": "$1",
"example": "awesome-plugin.user.js"
}
}
},
"addressNotAvailable": {
"message": "Адрес недоступен"
},
"errorReadingFile": {
"message": "Произошла ошибка при чтении файла $PLUGIN_NAME$.",
"placeholders": {
"plugin_name": {
"content": "$1",
"example": "awesome-plugin.user.js"
}
}
},
"or": {
"message": "или"
},
"dropJSHereOrClick": {
"message": "Выберите <i>.js</i> файл или переместите его сюда."
},
"willBeOverwrittenByNewPlugin": {
"message": "При совпадении ID плагин будет перезаписан новым."
},
"clickInstallPlugin": {
"message": "Это плагин IITC. Установите, чтобы начать использовать."
},
"install": {
"message": "Установить"
},
"loading": {
"message": "Загрузка…"
},
"serverNotAvailableRetry": {
"message": "Сервер недоступен. Повторная попытка через $NUM$ секунд",
"placeholders": {
"num": {
"content": "$1",
"example": "5"
}
}
},
"external": {
"message": "Сторонние"
}
}
Loading

0 comments on commit 1595b43

Please sign in to comment.