Skip to content

Commit

Permalink
Remove trailing spaces from translation file
Browse files Browse the repository at this point in the history
They're too brittle. For example transifex will outright remove them in the translation.
  • Loading branch information
zapek committed Aug 24, 2024
1 parent 144f944 commit e3e69b7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
15 changes: 5 additions & 10 deletions ui/src/main/resources/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ main.scanning.tip=Share: {0}, file: {1}

## Status

# suppress inspection "TrailingSpacesInProperty"
main.status.connections=Connections:
main.status.connections=Connections:
main.status.nat.unknown=Status is still unknown.
main.status.nat.firewalled=The client is not reachable from connections initiated from the Internet.
main.status.nat.upnp=UPNP is active and the client is fully reachable from the Internet.
Expand Down Expand Up @@ -206,17 +205,14 @@ forum.view.header.date=Date
forum.view.group.not-found=Forum not found. It's likely that it is not available on any of your connected friends.
forum.view.message.not-found=Message not found. It's likely that the message is too old or the originator has a too low reputation.

# suppress inspection "TrailingSpacesInProperty"
forum.view.from=From:
# suppress inspection "TrailingSpacesInProperty"
forum.view.subject=Subject:
forum.view.from=From:
forum.view.subject=Subject:
forum.view.reply=Reply

# Add RSID

rsid.add.window-title=Add Peer
# suppress inspection "TrailingSpacesInProperty"
rsid.add.textarea.instruction=Paste below your peer's ID or
rsid.add.textarea.instruction=Paste below your peer's ID or
rsid.add.textarea.instruction2=scan a QR code.
rsid.add.textarea.prompt=Paste peer's ID
rsid.add.textarea.tip=The ID is a string of about a hundred of weird looking cryptic characters. It encodes all information needed to connect to a peer.
Expand Down Expand Up @@ -279,8 +275,7 @@ profiles.delete=Delete profile
# About

about.window-title=About {0}
# suppress inspection "TrailingSpacesInProperty"
about.version=Version:
about.version=Version:
about.title=About
about.slogan=A Peer-to-Peer (Friend-to-Friend), decentralized, encrypted and secure application designed for communication and sharing
about.authors=Authors
Expand Down
1 change: 1 addition & 0 deletions ui/src/main/resources/view/about/about.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<Label text="Xeres" styleClass="title-2"/>
<HBox>
<Label text="%about.version"/>
<Label text=" "/>
<Label fx:id="version"/>
</HBox>
<Label fx:id="profile">
Expand Down
1 change: 1 addition & 0 deletions ui/src/main/resources/view/id/rsid_add.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<VBox prefWidth="560.0" prefHeight="540.0" minWidth="400.0" minHeight="500.0" styleClass="base-spacing" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="io.xeres.ui.controller.id.AddRsIdWindowController">
<TextFlow fx:id="instructions">
<Text text="%rsid.add.textarea.instruction"/>
<Text text=" "/>
<Hyperlink fx:id="scanQrCode" text="%rsid.add.textarea.instruction2"/>
</TextFlow>
<TextArea fx:id="rsIdTextArea" promptText="%rsid.add.textarea.prompt" VBox.vgrow="SOMETIMES" styleClass="fixed-font">
Expand Down
1 change: 1 addition & 0 deletions ui/src/main/resources/view/main.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
<Insets bottom="4.0" left="4.0" right="4.0" top="4.0"/>
</VBox.margin>
<Label text="%main.status.connections"/>
<Label text=" "/>
<Label fx:id="numberOfConnections" prefWidth="40.0"/>
<Label text="NAT: "/>
<LedControl fx:id="natStatus" prefHeight="16.0" prefWidth="16.0"/>
Expand Down

0 comments on commit e3e69b7

Please sign in to comment.