Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.89 KB

TranslationsExcludeParameters.md

File metadata and controls

23 lines (16 loc) · 1.89 KB

Phrase::TranslationsExcludeParameters

Properties

Name Type Description Notes
branch String specify the branch to use [optional]
q String Specify a query to find translations by content (including wildcards). Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size). The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of translation ids * `key.id:key_id,...` for queries on a comma-separated list of translation key ids * `key.name:key_name,...` for queries on a comma-separated list of translation key names * `locale.id:locale_id,...` for queries on a comma-separated list of locale ids * `locale.name:locale_name,...` for queries on a comma-separated list of locale names * `tags:XYZ` for tags on the translation * `unverified:{true false}` for verification status * `excluded:{true
sort String Sort criteria. Can be one of: key_name, created_at, updated_at. [optional]
order String Order direction. Can be one of: asc, desc. [optional]

Code Sample

require 'phrase'

instance = Phrase::TranslationsExcludeParameters.new(branch: 'my-feature-branch',
                                 q: 'key.name:home.title,home.subtitle locale.name:de-DE tags:feature',
                                 sort: 'updated_at',
                                 order: 'desc')