Skip to content

Commit

Permalink
chore: add licenses and copyright notices
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing committed Apr 29, 2024
1 parent 3f048d0 commit f8d175e
Show file tree
Hide file tree
Showing 8 changed files with 481 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Welcome!

Welcome to the Axolotl language files, first off, thank you for taking the time to consider contributing!
Welcome to the Axolotl locale files, first off, thank you for taking the time to consider contributing!
All contributions are extremely helpful and greatly appreciated!

This document contains a set of guides for contributing to this project.
Expand Down
395 changes: 395 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions LICENSE-CODE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Joshua Sing <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Axolotl language files
# Axolotl locale files

The language files used by Hypera Development's Axolotl Discord bot.
The locale files used by Hypera Development's Axolotl Discord bot.

## What is Axolotl?

Axolotl is the Discord bot used by Hypera Development to run our Discord servers.<br/>
In order to make Axolotl super helpful, we have decided to support multiple locales so that users can easily understand
and interact with Axolotl.

This module (`hypera.dev/axolotl-lang/v2`) contains the translatable language files used by Axolotl to display messages
This module (`hypera.dev/axolotl-lang/v2`) contains the translatable locale files used by Axolotl to display messages
in Discord.

### Supported languages
Expand All @@ -27,6 +27,13 @@ contribute! If you would like to contribute to this project, please see our [con
We are also looking to translate messages into more languages as well! If you know a language that Axolotl does not
currently support, please contribute translations so that we can reach more people who know your language!

### License

The content of the locale files (specifically in [`locales/`](locales)) are available
under [Creative Commons BY 4.0](LICENSE), except where otherwise stated.

The other code in this repository is licensed under the [MIT License](LICENSE-CODE).

## Contact

You can contact us in our [official Discord server](https://discord.hypera.dev/) (fastest) or emailing us
Expand Down
24 changes: 24 additions & 0 deletions cmd/lang-lint/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/*
* This file is a part of hypera.dev/lib, licensed under the MIT License.
*
* Copyright (c) 2024 Joshua Sing <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

package main

import (
Expand Down
24 changes: 24 additions & 0 deletions lang.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
/*
* This file is a part of hypera.dev/axolotl-lang/v2, licensed under the MIT License.
*
* Copyright (c) 2024 Joshua Sing <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

package lang

import (
Expand Down
3 changes: 3 additions & 0 deletions locales/en-GB.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[locale]
authors = "Joshua Sing"

[generic]
error = "Oops!"
error-description = """
Expand Down
3 changes: 3 additions & 0 deletions locales/ja.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
# This will almost definately contain mistakes, please fix any mistakes you find!
#

[locale]
authors = "Joshua Sing"

[generic]
error = "おっと"
error-description = """
Expand Down

0 comments on commit f8d175e

Please sign in to comment.