Skip to content

Commit

Permalink
Internationalized the download icon title in the header.
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermeborgesbastos committed Jun 15, 2020
1 parent 326d4b5 commit 6cf3589
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/app/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<li><a (click)="resetMenu()" href="#experience" i18n="nav@@experiences" itemprop="url"><span itemprop="name">Experiences</span></a></li>
<li><a (click)="resetMenu()" href="#posts" i18n="nav@@posts" itemprop="url"><span itemprop="name">Posts</span></a></li>
<li><a (click)="resetMenu()" href="#contact" i18n="nav@@contact" itemprop="url"><span itemprop="name">Contact</span></a></li>
<li><a (click)="resetMenu()" href="https://assets.guilhermeborgesbastos.com/live-resume/template/experience/cv-english-guilherme-bastos-v1.3.pdf" title="Download resume as PDF" target="_blank"><fa-icon [icon]="faCloudDownloadAlt" class="bar-icon"></fa-icon></a></li>
<li><a (click)="resetMenu()" href="https://assets.guilhermeborgesbastos.com/live-resume/template/experience/cv-english-guilherme-bastos-v1.3.pdf" i18n-title="nav@@open.as.pdf" title="Open Resume as PDF" target="_blank"><fa-icon [icon]="faCloudDownloadAlt" class="bar-icon"></fa-icon></a></li>
</ul>
</div>

Expand Down
9 changes: 9 additions & 0 deletions src/locales/messages.en.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en-US" datatype="plaintext" original="ng2.template">
<body>
<trans-unit id="open.as.pdf" datatype="html">
<source>Open Resume as PDF</source>
<target>Open Resume as PDF</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/header/header.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<note priority="1" from="description">nav</note>
</trans-unit>
<trans-unit id="readMore" datatype="html">
<source>Read more</source>
<target>Read more</target>
Expand Down
9 changes: 9 additions & 0 deletions src/locales/messages.pt.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en-US" datatype="plaintext" original="ng2.template">
<body>
<trans-unit id="open.as.pdf" datatype="html">
<source>Open Resume as PDF</source>
<target>Abrir currículo como PDF</target>
<context-group purpose="location">
<context context-type="sourcefile">src/app/header/header.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<note priority="1" from="description">nav</note>
</trans-unit>
<trans-unit id="readMore" datatype="html">
<source>Read more</source>
<target>Saiba mais</target>
Expand Down
34 changes: 21 additions & 13 deletions src/locales/messages.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/posts/posts.component.html</context>
<context context-type="linenumber">9</context>
<context context-type="linenumber">10</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/posts/posts.component.html</context>
<context context-type="linenumber">10</context>
<context context-type="linenumber">11</context>
</context-group>
<note priority="1" from="description">exp.nav</note>
</trans-unit>
Expand All @@ -54,11 +54,11 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/posts/posts.component.html</context>
<context context-type="linenumber">14</context>
<context context-type="linenumber">17</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/posts/posts.component.html</context>
<context context-type="linenumber">15</context>
<context context-type="linenumber">18</context>
</context-group>
<note priority="1" from="description">exp.nav</note>
</trans-unit>
Expand All @@ -74,32 +74,32 @@
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/posts/posts-carousel/posts-carousel.component.html</context>
<context context-type="linenumber">24</context>
<context context-type="linenumber">33</context>
</context-group>
<note priority="1" from="description">nav</note>
</trans-unit>
<trans-unit id="synopsis" datatype="html">
<source>In countless times, an article or a simple piece of information saved me hours of research, so whenever is possible, I try to do my humble contributions: </source>
<source>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vulputate sagittis velit, eget scelerisque arcu semper finibus.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/posts/posts.component.html</context>
<context context-type="linenumber">19</context>
<context context-type="linenumber">23</context>
</context-group>
<note priority="1" from="description">posts</note>
</trans-unit>
<trans-unit id="aboutMe" datatype="html">
<source>About me</source>
<source><x id="START_TAG_SPAN" ctype="x-span" equiv-text="&lt;span&gt;"/>About me<x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span&gt;"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/header/header.component.html</context>
<context context-type="linenumber">13</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/about/about.component.html</context>
<context context-type="linenumber">4</context>
<context context-type="linenumber">13</context>
</context-group>
<note priority="1" from="description">nav</note>
</trans-unit>
<trans-unit id="contact" datatype="html">
<source>Contact</source>
<source><x id="START_TAG_SPAN" ctype="x-span" equiv-text="&lt;span&gt;"/>Contact<x id="CLOSE_TAG_SPAN" ctype="x-span" equiv-text="&lt;/span&gt;"/></source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/header/header.component.html</context>
<context context-type="linenumber">16</context>
Expand All @@ -110,11 +110,19 @@
</context-group>
<note priority="1" from="description">nav</note>
</trans-unit>
<trans-unit id="open.as.pdf" datatype="html">
<source>Open Resume as PDF</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/header/header.component.html</context>
<context context-type="linenumber">17</context>
</context-group>
<note priority="1" from="description">nav</note>
</trans-unit>
<trans-unit id="yearsOld" datatype="html">
<source>years old</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/about/about.component.html</context>
<context context-type="linenumber">8</context>
<context context-type="linenumber">17</context>
</context-group>
<note priority="1" from="description">about</note>
</trans-unit>
Expand Down Expand Up @@ -242,15 +250,15 @@
<source>Read more</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/posts/posts-carousel/posts-carousel.component.html</context>
<context context-type="linenumber">11</context>
<context context-type="linenumber">20</context>
</context-group>
<note priority="1" from="description">posts</note>
</trans-unit>
<trans-unit id="of" datatype="html">
<source>of</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/posts/posts-carousel/posts-carousel.component.html</context>
<context context-type="linenumber">22</context>
<context context-type="linenumber">31</context>
</context-group>
<note priority="1" from="description">posts</note>
</trans-unit>
Expand Down

0 comments on commit 6cf3589

Please sign in to comment.