Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translations #40

Merged
merged 20 commits into from
Jul 14, 2024
Merged

Add translations #40

merged 20 commits into from
Jul 14, 2024

Conversation

ZCG-coder
Copy link
Owner

@ZCG-coder ZCG-coder commented Jul 10, 2024

This PR adds translations in various languages to Steppable.
This PR addresses #41.

Warning

This PR changes things in an incompatible manner.

  • Components use std::string to operate instead of string_view to save casts.
  • vFormat is removed. It is replaced by format::format.

Changelog:

  • Update doxygen-awesome-css
  • Add explanation to root.
  • Add STP_NO_BINDINGS option
  • Added translations.
  • Added steppable::__internals::utils::getHomeDirectory()
    • Add more localization
    • Add stub for the C++ part of the translation
  • Fix compile issues.
  • WIP: Added implementation for localization
  • Fix compile issue on Windows.
  • Incompatible: Fix memory corruption.
    • Using std::string instead of std::string_view.
  • Fix build errors on Windows.
  • Improve documentation of Python files.
    • Add generate_changelog.py.
    • Improve typing and documentation.
  • Fix const-correctness.
  • Rewrote format.
    • Using a vector of elements instead of passing through va_args.
    • Add more localization strings.
  • Fix compile issues.
  • Improvements to format.cpp.
    • format now checks for invalid values of index.
    • Added tests for format.
  • Add localization (batch 1).
  • Fix compile issues.
  • Add localization (batch 2).
  • Fix compile issues.

@ZCG-coder ZCG-coder added this to the First Release milestone Jul 10, 2024
@ZCG-coder ZCG-coder added T-Feature Type - New feature or request T-Vulnerability Type - A vulnerability that can be exploited, for example, dangerous code C-Python Code - Pull requests that update Python code C-C++ Code - Pull requests that update C++ code. W-Incompatible Warning - Breaking change C-CMake Code - Pull requests that update CMake files. labels Jul 10, 2024
@ZCG-coder ZCG-coder self-assigned this Jul 10, 2024
@ZCG-coder ZCG-coder linked an issue Jul 10, 2024 that may be closed by this pull request
15 tasks
- Add `generate_changelog.py`.
- Improve typing and documentation.
- Using a vector of elements instead of passing through va_args.
- Add more localization strings.
- `format` now checks for invalid values of index.
- Added tests for `format`.
@ZCG-coder ZCG-coder requested a review from 813ethan July 12, 2024 23:11
@ZCG-coder ZCG-coder merged commit 0e23c29 into main Jul 14, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-C++ Code - Pull requests that update C++ code. C-CMake Code - Pull requests that update CMake files. C-Python Code - Pull requests that update Python code T-Feature Type - New feature or request T-Vulnerability Type - A vulnerability that can be exploited, for example, dangerous code W-Incompatible Warning - Breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Feature: Add translations
2 participants