Skip to content

Translations update from OSGeo Weblate #123

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

Merged
merged 6 commits into from
May 20, 2024

Conversation

osgeoweblate
Copy link
Contributor

Copy link
Contributor

coderabbitai bot commented May 2, 2024

Walkthrough

Walkthrough

The recent updates to the PostGIS workshop translations involve refreshing metadata, updating translator information, and refining translations across multiple language files. Key changes include modifications to descriptions, commands, and URLs to improve clarity and accuracy for Spanish and Chinese (Simplified) users. These enhancements aim to provide a more precise and user-friendly experience for learners engaging with the PostGIS workshop content.

Changes

Files Change Summaries
postgis-intro/sources/locale/es/LC_MESSAGES/about_data.po,
postgis-intro/sources/locale/es/LC_MESSAGES/index.po,
postgis-intro/sources/locale/es/LC_MESSAGES/simple_sql_exercises.po
Updated metadata, translator info, and translations for various messages related to data descriptions, street names, subway stations, and census data in New York City.
postgis-intro/sources/locale/zh_Hans/LC_MESSAGES/geometries_exercises.po,
postgis-intro/sources/locale/zh_Hans/LC_MESSAGES/indexing.po
Updated metadata, translator info, and translations for commands related to aggregate functions, queries, indexing operations, and vacuuming in PostgreSQL.
postgis-intro/sources/locale/zh_Hans/LC_MESSAGES/joins.po,
postgis-intro/sources/locale/zh_Hans/LC_MESSAGES/joins_exercises.po
Comprehensive translation updates for spatial joins, including function descriptions, exercise prompts, and table names.
postgis-intro/sources/locale/zh_Hans/LC_MESSAGES/projection.po,
postgis-intro/sources/locale/zh_Hans/LC_MESSAGES/projection_exercises.po
Translations for projecting data, transforming spatial reference systems, and PostGIS functions, including exercise descriptions related to projections in PostGIS.

In the world of code and maps,
Translations bridge the gaps.
From Spanish streets to Chinese trains,
Each detail carefully explains.
PostGIS knowledge shared with glee,
Across the lands and over the sea.
🐇🌍📚


Recent Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between 589969f and 7e1bb6d.
Files selected for processing (1)
  • postgis-intro/sources/locale/zh_Hans/LC_MESSAGES/geometries_exercises.po (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • postgis-intro/sources/locale/zh_Hans/LC_MESSAGES/geometries_exercises.po

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@osgeoweblate osgeoweblate force-pushed the weblate-postgis-workshop-index branch 4 times, most recently from ebf8ea1 to 0338bc6 Compare May 6, 2024 21:00
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


#: ../../en/spatial_relationships_exercises.rst:9
msgid ":command:`count(expression)` aggregate to return the size of a set of records"
msgstr ""
msgstr ":command:`sum(expression)`聚合函数用于返回一组记录的大小"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Translation error: The msgstr for :command:'count(expression)' incorrectly uses sum(expression). This should be corrected to reflect the correct command.

- msgstr ":command:`sum(expression)`聚合函数用于返回一组记录的大小"
+ msgstr ":command:`count(expression)`聚合函数用于返回一组记录的大小"

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
msgstr ":command:`sum(expression)`聚合函数用于返回一组记录的大小"
msgstr ":command:`count(expression)`聚合函数用于返回一组记录的大小"

@osgeoweblate osgeoweblate force-pushed the weblate-postgis-workshop-index branch 2 times, most recently from 744a104 to dabedbe Compare May 20, 2024 07:28
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

@osgeoweblate osgeoweblate force-pushed the weblate-postgis-workshop-index branch from dabedbe to 6db98b7 Compare May 20, 2024 09:21
paulocoronado and others added 5 commits May 20, 2024 09:27
Currently translated at 68.0% (64 of 94 strings)

Translated using Weblate (Spanish)

Currently translated at 13.9% (6 of 43 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (29 of 29 strings)

Co-authored-by: Paulo Cesar <[email protected]>
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/about_data/es/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/index/es/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/simple_sql_exercises/es/
Translation: postgis-workshop/about_data
Translation: postgis-workshop/index
Translation: postgis-workshop/simple_sql_exercises
Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (29 of 29 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (35 of 35 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (30 of 30 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 9.5% (4 of 42 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (53 of 53 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (43 of 43 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (133 of 133 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (61 of 61 strings)

Added translation using Weblate (Chinese (Simplified))

Added translation using Weblate (Chinese (Simplified))

Added translation using Weblate (Chinese (Simplified))

Co-authored-by: Wangdapeng <[email protected]>
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/geometries/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/geometries_exercises/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/indexing/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/joins/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/joins_exercises/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/projection/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/projection_exercises/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/simple_sql_exercises/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/spatial_relationships/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/spatial_relationships_exercises/zh_Hans/
Translation: postgis-workshop/geometries
Translation: postgis-workshop/geometries_exercises
Translation: postgis-workshop/indexing
Translation: postgis-workshop/joins
Translation: postgis-workshop/joins_exercises
Translation: postgis-workshop/projection
Translation: postgis-workshop/projection_exercises
Translation: postgis-workshop/simple_sql_exercises
Translation: postgis-workshop/spatial_relationships
Translation: postgis-workshop/spatial_relationships_exercises
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (74 of 74 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (31 of 31 strings)

Added translation using Weblate (Chinese (Simplified))

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (29 of 29 strings)

Co-authored-by: Chengxiang Wang <[email protected]>
Co-authored-by: Wang Chengxiang <[email protected]>
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/geography/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/joins_exercises/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/projection/zh_Hans/
Translation: postgis-workshop/geography
Translation: postgis-workshop/joins_exercises
Translation: postgis-workshop/projection
Currently translated at 100.0% (74 of 74 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (29 of 29 strings)

Co-authored-by: Weblate <[email protected]>
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/geography/zh_Hans/
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/joins_exercises/zh_Hans/
Translation: postgis-workshop/geography
Translation: postgis-workshop/joins_exercises
Currently translated at 100.0% (74 of 74 strings)

Co-authored-by: Weblate Translation Memory <[email protected]>
Translate-URL: https://weblate.osgeo.org/projects/postgis-workshop/geography/zh_Hans/
Translation: postgis-workshop/geography
@osgeoweblate osgeoweblate force-pushed the weblate-postgis-workshop-index branch from 6db98b7 to 589969f Compare May 20, 2024 09:27
…ercises.po

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants