Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
export-pot-to-poeditor 311 B
#!/usr/bin/env bash

set -eu

POEDITOR_PROJECT_ID="200535"

echo "Uploading metabase.pot to POEditor..."

curl -X POST https://api.poeditor.com/v2/projects/upload \
     -F api_token="${POEDITOR_API_TOKEN}" \
     -F id="${POEDITOR_PROJECT_ID}" \
     -F updating="terms" \
     -F file=@"locales/metabase.pot"