Skip to content

Commit

Permalink
License change and move to new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Getty committed Dec 29, 2024
1 parent 269639f commit 4c3e339
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 69 deletions.
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

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

Copyright (c) 2012-2024 Torsten Raudßus

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.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Locale::Simple

**Locale::Simple** is a lightweight translation framework that provides a consistent API across Perl, Python, and JavaScript. It serves as an easy-to-use wrapper around gettext, simplifying the process of internationalizing your applications.

## Features

- **Unified API**: Consistent function names and behaviors across Perl, Python, and JavaScript.
- **gettext Integration**: Leverages the widely-used gettext system for managing translations.
- **Simplicity**: Designed to be straightforward, making it easy to add localization to your projects.

## Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes. Ensure that your code adheres to the project's coding standards and includes appropriate tests.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Acknowledgments

Special thanks to the contributors who have helped develop and maintain this project.
2 changes: 1 addition & 1 deletion bin/locale_simple_scraper_old
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
# PODNAME: locale_simple_scraper_old_old
# PODNAME: locale_simple_scraper_old
# ABSTRACT: Old Command line tool for finding tokens in code

=head1 SYNOPSIS
Expand Down
50 changes: 6 additions & 44 deletions dist.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name = Locale-Simple
author = Torsten Raudssus <[email protected]>
license = Perl_5
copyright_holder = DuckDuckGo, Inc. L<http://duckduckgo.com/>, Torsten Raudssus <torsten@raudss.us>
copyright_year = 2012
author = Torsten Raudssus <torsten@raudssus.de> L<https://raudss.us/>
license = MIT
copyright_holder = Torsten Raudssus <torsten@raudssus.de>
copyright_year = 2012-2024

[AutoPrereqs]
[@Author::GETTY]
release_branch = main

[Encoding]
encoding = bytes
Expand All @@ -14,49 +15,10 @@ match = ^t/data/
exclude_filename = setup.py
exclude_match = python/.*

[@Filter]
-bundle = @Basic
-remove = GatherDir
-remove = ConfirmRelease

[Run::BeforeRelease]
run = python python/test.py

[Run::AfterRelease]
run = V=%v python setup.py sdist upload

[ConfirmRelease]

[Git::NextVersion]
version_regexp = ^([0-9]+\.[0-9]+)$

[PkgVersion]
[MetaConfig]
[MetaJSON]

[PodSyntaxTests]
[GithubMeta]

[Authority]
authority = cpan:GETTY
do_metadata = 1

[PodWeaver]

[Repository]

[TravisCI]

[Git::CheckFor::CorrectBranch]
release_branch = master

[@Git]
tag_format = %v
push_to = origin

[ChangelogFromGit]
max_age = 99999
tag_regexp = ^v(.+)$
file_name = Changes
wrap_column = 74
debug = 0
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
version=str(version),
py_modules=['locale_simple'],
package_dir={'':'python'},
description='Python verrsion of Locale::Simple, Translation system based on gettext storage, same API in Perl and Javascript',
author='Michael Smith',
author_email='[email protected]',
license='PerlArtistic',
url='https://github.com/Getty/p5-locale-simple/',
description='Python version of Locale::Simple, Translation system based on gettext storage, same API in Perl and Javascript',
author='Torsten Raudßus',
author_email='[email protected]',
license='MIT',
url='https://github.com/Getty/locale-simple/',
long_description=long_description,
platforms=['any'],
classifiers=["Development Status :: 4 - Beta",
Expand Down

0 comments on commit 4c3e339

Please sign in to comment.