Replace uppercase text-transform by capitalized text source
authorRigel Kent <sendmemail@rigelk.eu>
Fri, 21 Feb 2020 15:50:12 +0000 (16:50 +0100)
committerRigel Kent <sendmemail@rigelk.eu>
Fri, 21 Feb 2020 15:51:34 +0000 (16:51 +0100)
fixes #2085

12 files changed:
client/src/app/+about/about-instance/about-instance.component.html
client/src/app/+accounts/account-about/account-about.component.html
client/src/app/+accounts/account-video-channels/account-video-channels.component.html
client/src/app/+accounts/accounts.component.ts
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
client/src/app/+video-channels/video-channel-about/video-channel-about.component.html
client/src/app/+video-channels/video-channels.component.ts
client/src/app/header/search-typeahead.component.html
client/src/app/menu/menu.component.html
client/src/app/videos/+video-watch/comment/video-comments.component.html
client/src/app/videos/+video-watch/video-watch.component.html
client/src/app/videos/recommendations/recommended-videos.component.html

index fc5736aba4a5556d31022877d6c8a13a0c8a1fcb..b712d00446a4ff059854596e3bca9fd69b77b7ef 100644 (file)
@@ -20,7 +20,7 @@
     </div>
 
     <div i18n class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel">
-      Administrators & sustainability
+      ADMINISTRATORS & SUSTAINABILITY
     </div>
 
     <div class="block administrator" *ngIf="html.administrator">
@@ -48,7 +48,7 @@
     </div>
 
     <div i18n class="middle-title" *ngIf="html.description">
-      Information
+      INFORMATION
     </div>
 
     <div class="block description">
@@ -58,7 +58,7 @@
     </div>
 
     <div i18n class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms">
-      Moderation
+      MODERATION
     </div>
 
     <div class="block moderation-information" *ngIf="html.moderationInformation">
@@ -80,7 +80,7 @@
     </div>
 
     <div i18n class="middle-title" *ngIf="html.hardwareInformation">
-      Other information
+      OTHER INFORMATION
     </div>
 
     <div class="block hardware-information" *ngIf="html.hardwareInformation">
@@ -97,7 +97,7 @@
 
   <div class="col">
     <div i18n class="middle-title">
-      Statistics
+      STATISTICS
     </div>
     <my-instance-statistics></my-instance-statistics>
   </div>
index f857e5a52a8c9a1036d9864d75a8250168597ca9..3ae11b49c3f88e397eeaa757855a2a0c1ac39c52 100644 (file)
@@ -1,11 +1,11 @@
 <div *ngIf="account" class="row">
   <div class="block col-md-6 col-sm-12">
-    <div i18n class="small-title">Description</div>
+    <div i18n class="small-title">DESCRIPTION</div>
     <div class="content" [innerHtml]="getAccountDescription()"></div>
   </div>
 
   <div class="block col-md-6 col-sm-12">
-    <div i18n class="small-title">Stats</div>
+    <div i18n class="small-title">STATS</div>
 
     <div i18n class="content">Joined {{ account.createdAt | date }}</div>
   </div>
index 78115684012c36e4db7bc924fe12083845433db9..8f1ff21a55422246e155ad31acaf9ea4927691aa 100644 (file)
@@ -25,7 +25,7 @@
       </div>
 
       <a *ngIf="getVideosOf(videoChannel).length !== 0" class="show-more" i18n [routerLink]="getVideoChannelLink(videoChannel)">
-        Show this channel
+        SHOW THIS CHANNEL
       </a>
     </div>
   </div>
index 4fea0e4edc99abdfcdfdf0be2fabf521ca1a47b0..061eb953ac63b5db3055807a34b4072de1c7fdcb 100644 (file)
@@ -74,9 +74,9 @@ export class AccountsComponent implements OnInit, OnDestroy {
                         )
 
     this.links = [
-      { label: this.i18n('Video channels'), routerLink: 'video-channels' },
-      { label: this.i18n('Videos'), routerLink: 'videos' },
-      { label: this.i18n('About'), routerLink: 'about' }
+      { label: this.i18n('VIDEO CHANNELS'), routerLink: 'video-channels' },
+      { label: this.i18n('VIDEOS'), routerLink: 'videos' },
+      { label: this.i18n('ABOUT'), routerLink: 'about' }
     ]
   }
 
index b0961406145e5cd37e68aa8a89f28b0dd4d37137..2cf0e5fd9fe549346fd315088ae58840339043f2 100644 (file)
@@ -7,7 +7,7 @@
 
         <ng-container formGroupName="instance">
 
-          <div i18n class="inner-form-title">Instance</div>
+          <div i18n class="inner-form-title">INSTANCE</div>
 
           <div class="form-group">
             <label i18n for="instanceName">Name</label>
@@ -60,7 +60,7 @@
             </div>
           </div>
 
-          <div i18n class="inner-form-title">Moderation & NSFW</div>
+          <div i18n class="inner-form-title">MODERATION & NSFW</div>
 
           <div class="form-group">
             <my-peertube-checkbox inputName="instanceIsNSFW" formControlName="isNSFW">
             <div *ngIf="formErrors.instance.moderationInformation" class="form-error">{{ formErrors.instance.moderationInformation }}</div>
           </div>
 
-          <div i18n class="inner-form-title">You and your instance</div>
+          <div i18n class="inner-form-title">YOU AND YOUR INSTANCE</div>
 
           <div class="form-group">
             <label i18n for="instanceAdministrator">Who is behind the instance?</label>
             <div *ngIf="formErrors.instance.businessModel" class="form-error">{{ formErrors.instance.businessModel }}</div>
           </div>
 
-          <div i18n class="inner-form-title">Other information</div>
+          <div i18n class="inner-form-title">OTHER INFORMATION</div>
 
           <div class="form-group">
             <label i18n for="instanceHardwareInformation">What server/hardware does the instance run on?</label>
     <ngb-tab i18n-title title="Basic configuration">
       <ng-template ngbTabContent>
 
-        <div i18n class="inner-form-title">Theme & Default route</div>
+        <div i18n class="inner-form-title">THEME AND DEFAULT ROUTE</div>
 
         <ng-container formGroupName="theme">
           <div class="form-group">
           <div *ngIf="formErrors.instance.defaultClientRoute" class="form-error">{{ formErrors.instance.defaultClientRoute }}</div>
         </div>
 
-        <div i18n class="inner-form-title">Signup</div>
+        <div i18n class="inner-form-title">SIGNUP</div>
 
         <ng-container formGroupName="signup">
           <div class="form-group">
         </ng-container>
 
 
-        <div i18n class="inner-form-title">Users</div>
+        <div i18n class="inner-form-title">USERS</div>
 
         <ng-container formGroupName="user">
           <div class="form-group">
         </ng-container>
 
 
-        <div i18n class="inner-form-title">Import</div>
+        <div i18n class="inner-form-title">IMPORT</div>
 
         <ng-container formGroupName="import">
           <ng-container formGroupName="videos">
         </ng-container>
 
 
-        <div i18n class="inner-form-title">Auto-blacklist</div>
+        <div i18n class="inner-form-title">AUTO-BLACKLIST</div>
 
         <ng-container formGroupName="autoBlacklist">
           <ng-container formGroupName="videos">
         </ng-container>
 
 
-        <div i18n class="inner-form-title">Instance followers</div>
+        <div i18n class="inner-form-title">INSTANCE FOLLOWERS</div>
 
         <ng-container formGroupName="followers">
           <ng-container formGroupName="instance">
           </ng-container>
         </ng-container>
 
-        <div i18n class="inner-form-title">Instance followings</div>
+        <div i18n class="inner-form-title">INSTANCE FOLLOWINGS</div>
 
         <ng-container formGroupName="followings">
           <ng-container formGroupName="instance">
         </ng-container>
 
 
-        <div i18n class="inner-form-title">Administrator</div>
+        <div i18n class="inner-form-title">ADMINISTRATORS</div>
 
         <div class="form-group" formGroupName="admin">
           <label i18n for="adminEmail">Admin email</label>
 
     <ngb-tab i18n-title title="Services">
       <ng-template ngbTabContent>
-        <div i18n class="inner-form-title">Twitter</div>
+        <div i18n class="inner-form-title">TWITTER</div>
 
         <ng-container formGroupName="services">
           <ng-container formGroupName="twitter">
     <ngb-tab i18n-title title="Advanced configuration">
       <ng-template ngbTabContent>
 
-        <div i18n class="inner-form-title">Transcoding</div>
+        <div i18n class="inner-form-title">TRANSCODING</div>
 
         <ng-container formGroupName="transcoding">
           <div class="form-group">
         </ng-container>
 
         <div class="inner-form-title">
-          <ng-container i18n>Cache</ng-container>
+          <ng-container i18n>CACHE</ng-container>
 
           <my-help>
             <ng-template ptTemplate="customHtml">
           </div>
         </ng-container>
 
-        <div i18n class="inner-form-title">Customizations</div>
+        <div i18n class="inner-form-title">CUSTOMIZATIONS</div>
 
         <ng-container formGroupName="instance">
           <ng-container formGroupName="customizations">
index 9655668d73a16af55a4bc270b6d7fdf642e50a21..c02213ebbee438163f2c00fd4e423f60e15aad03 100644 (file)
@@ -1,19 +1,19 @@
 <div *ngIf="videoChannel" class="row">
   <div class="description col-md-6 col-sm-12">
     <div class="block">
-      <div i18n class="small-title">Description</div>
+      <div i18n class="small-title">DESCRIPTION</div>
       <div class="content" [innerHtml]="getVideoChannelDescription()"></div>
     </div>
 
     <div class="block" *ngIf="supportHTML">
-      <div i18n class="small-title">Support this channel</div>
+      <div i18n class="small-title">SUPPORT THIS CHANNEL</div>
       <div class="content" [innerHtml]="supportHTML"></div>
     </div>
   </div>
 
   <div class="stats col-md-6 col-sm-12">
     <div class="block">
-      <div i18n class="small-title">Stats</div>
+      <div i18n class="small-title">STATS</div>
       <div i18n class="content">Created {{ videoChannel.createdAt | date }}</div>
     </div>
   </div>
index 0889ca854b1db12d57a6f659ff5ac0f212ff3226..00b9938d9357e1e2396b5423ab96e1b15dacb70f 100644 (file)
@@ -66,9 +66,9 @@ export class VideoChannelsComponent implements OnInit, OnDestroy {
     if (this.isUserLoggedIn()) this.hotkeysService.add(this.hotkeys)
 
     this.links = [
-      { label: this.i18n('Videos'), routerLink: 'videos' },
-      { label: this.i18n('Video playlists'), routerLink: 'video-playlists' },
-      { label: this.i18n('About'), routerLink: 'about' }
+      { label: this.i18n('VIDEOS'), routerLink: 'videos' },
+      { label: this.i18n('VIDEO PLAYLISTS'), routerLink: 'video-playlists' },
+      { label: this.i18n('ABOUT'), routerLink: 'about' }
     ]
   }
 
index e3680906054ba0706ce2cf4b283de5a4ab688df0..949defed6748008b55fde09bbb5a7f3092d21d5a 100644 (file)
@@ -13,7 +13,7 @@
     <div *ngIf="showHelp" id="typeahead-help" class="overflow-hidden">
       <ng-container *ngIf="activeResult.type === 'search-global'">
         <div class="d-flex justify-content-between">
-          <label class="small-title" i18n>Global search</label>
+          <label class="small-title" i18n>GLOBAL SEARCH</label>
           <div class="advanced-search-status text-muted">
             <span *ngIf="serverConfig" class="mr-1" i18n>using {{ serverConfig.followings.instance.autoFollowIndex.indexUrl }}</span>
             <i class="glyphicon glyphicon-globe"></i>
@@ -26,7 +26,7 @@
     <!-- search instructions, when search input is empty -->
     <div *ngIf="areInstructionsDisplayed" id="typeahead-instructions" class="overflow-hidden">
       <div class="d-flex justify-content-between">
-        <label class="small-title" i18n>Advanced search</label>
+        <label class="small-title" i18n>ADVANCED SEARCH</label>
         <div class="advanced-search-status c-help">
           <span [ngClass]="canSearchAnyURI ? 'text-success' : 'text-muted'" i18n-title title="Determines whether you can resolve any distant content, or if this instance only allows doing so for instances it follows.">
             <span *ngIf="canSearchAnyURI" class="mr-1" i18n>any instance</span>
index 91422df77b76c9af20659aed8aea59beeaf6e577..790a8af00b3245e5125a909846080b5e51e23ff6 100644 (file)
@@ -48,7 +48,7 @@
       </div>
 
       <div *ngIf="isLoggedIn" class="panel-block">
-        <div i18n class="block-title">My library</div>
+        <div i18n class="block-title">MY LIBRARY</div>
 
         <a routerLink="/my-account/videos" routerLinkActive="active">
           <my-global-icon iconName="videos"></my-global-icon>
@@ -73,7 +73,7 @@
       </div>
 
       <div class="panel-block">
-        <div i18n class="block-title">Videos</div>
+        <div i18n class="block-title">VIDEOS</div>
 
         <a routerLink="/videos/overview" routerLinkActive="active">
           <my-global-icon iconName="globe"></my-global-icon>
       </div>
 
       <div class="panel-block">
-        <div class="block-title" i18n>More</div>
+        <div class="block-title" i18n>MORE</div>
 
         <a *ngIf="userHasAdminAccess" [routerLink]="getFirstAdminRouteAvailable()" routerLinkActive="active">
           <my-global-icon iconName="administration"></my-global-icon>
index 2bf52ab86aea3886d9b39d42677581079ee86af1..2ab2d4689cb76f7797aa6d2964f777c8da5f748f 100644 (file)
@@ -13,7 +13,7 @@
 
     <div ngbDropdown class="d-inline-block ml-4">
       <button class="btn btn-sm btn-outline-secondary" id="dropdownSortComments" ngbDropdownToggle i18n>
-        Sort by
+        SORT BY
       </button>
       <div ngbDropdownMenu aria-labelledby="dropdownSortComments">
         <button (click)="handleSortChange('-createdAt')" ngbDropdownItem i18n>Most recent first (default)</button>
index a382777f57de9ce836f37d93792e5615539392c8..cfa0432ad009e7b69454b04480ad287ec156a60f 100644 (file)
                     placement="bottom auto"
                   >
                     <my-global-icon iconName="support"></my-global-icon>
-                    <span class="icon-text" i18n>Support</span>
+                    <span class="icon-text" i18n>SUPPORT</span>
                   </div>
 
                   <div (click)="showShareModal()" class="action-button" role="button">
                     <my-global-icon iconName="share"></my-global-icon>
-                    <span class="icon-text" i18n>Share</span>
+                    <span class="icon-text" i18n>SHARE</span>
                   </div>
 
                   <div
                   >
                     <div class="action-button action-button-save" ngbDropdownToggle role="button">
                       <my-global-icon iconName="playlist-add"></my-global-icon>
-                      <span class="icon-text" i18n>Save</span>
+                      <span class="icon-text" i18n>SAVE</span>
                     </div>
 
                     <div ngbDropdownMenu>
index 476eca0710e6eaff26313697f10d120f04eab930..4548c7d800ab8fd3c07a1196348d2b5184f3966b 100644 (file)
@@ -7,7 +7,7 @@
       <div *ngIf="!playlist" class="title-page-autoplay"
         [ngbTooltip]="autoPlayNextVideoTooltip" placement="bottom-right auto"
       >
-        <span i18n>Autoplay</span>
+        <span i18n>AUTOPLAY</span>
         <p-inputSwitch [(ngModel)]="autoPlayNextVideo" (ngModelChange)="switchAutoPlayNextVideo()"></p-inputSwitch>
       </div>
     </div>