Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.64 KB

TranslationsIncludeParameters.md

File metadata and controls

23 lines (16 loc) · 1.64 KB

Phrase::TranslationsIncludeParameters

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).<br><br> <i>Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).</i><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true false}</code> for verification status</li> <li><code>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::TranslationsIncludeParameters.new(branch: my-feature-branch,
                                 q: PhraseApp*%20verified:true%20tags:feature,center,
                                 sort: updated_at,
                                 order: desc)