Inline tag behavior in Studio 2014 (YAML / Delimited text file)
Thread poster: Hannu Jaatinen

Hannu Jaatinen  Identity Verified
Finland
Local time: 01:16
Member (2006)
English to Finnish
+ ...
Nov 17, 2013

Hi,

I'm having trouble removing the comment lines, which start with #, from YML files in my project.

Here's a section of the file

en:
prostataform:
# no need to translate
ipss: IPSS altogether
# no need to translate
iief: IIEF-5 altogether
activerecord:
models:
activity: Activity
admin: Administrator
adverse_effect: Adverse effect
....
reported_value:
must_be_integer: must be integer
should_be_bigger_than: should be bigger than %{min}
should_be_smaller_than: should be smaller than %{max}
cant_be_in_future: can not be in the future
absence:
overlaps: The selected date interval may not overlap any of your existing vacations
# Attribute names for specific models (under activerecord)
attributes:
reported_grade:
grade: Grade
...

I have used "#.*" as my inline tag rule and several online regex testers highlight the comment files correctly, but Studio 2014 includes "Attribute names for specific models (under activerecord)" in the file even though it correctly omits the first two commented lines, i.e. "no need to translate".

Any ideas what can cause this and how to fix it?

TIA, Hannu Jaatinen


Direct link Reply with quote
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Inline tag behavior in Studio 2014 (YAML / Delimited text file)

Advanced search







WordFinder
The words you want Anywhere, Anytime

WordFinder is the market's fastest and easiest way of finding the right word, term, translation or synonym in one or more dictionaries. In our assortment you can choose among more than 120 dictionaries in 15 languages from leading publishers.

More info »
TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search