Skip to content

Commit

Permalink
Removed R.string.gif and replaced with a string constant
Browse files Browse the repository at this point in the history
  • Loading branch information
alansley committed Aug 28, 2024
1 parent ace58e3 commit d3fb440
Show file tree
Hide file tree
Showing 78 changed files with 3 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import com.google.android.material.tabs.TabLayout;

import org.session.libsession.utilities.MediaTypes;
import org.session.libsession.utilities.NonTranslatableStringConstants;
import org.thoughtcrime.securesms.PassphraseRequiredActionBarActivity;
import org.session.libsignal.utilities.Log;
import org.thoughtcrime.securesms.providers.BlobProvider;
Expand Down Expand Up @@ -165,7 +166,7 @@ public int getCount() {

@Override
public CharSequence getPageTitle(int position) {
if (position == 0) return context.getString(R.string.gif);
if (position == 0) return NonTranslatableStringConstants.GIF;
else return context.getString(R.string.stickers);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ object NonTranslatableStringConstants {
const val ARBITRUM = "Arbitrum"
const val DEBUG_MENU = "Debug Menu"
const val ETHEREUM = "Ethereum"
const val GIF = "GIF"
const val NETWORK_NAME = "Session Network"
const val TOKEN_NAME_LONG = "Session Token"
const val TOKEN_NAME_LONG_PLURAL = "Session Tokens"
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-ar-rSA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">صورة Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">أرسل</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">صورة Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">أرسل</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-az-rAZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Göndər</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-az/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Göndər</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-ca-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Envia</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-ca/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Envia</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-cs-rCZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Odeslat</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Odeslat</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-da-rDK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Send</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-da/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Send</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-de-rDE/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">GIF</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Senden</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">GIF</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Senden</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-el-rGR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Αποστολή</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Αποστολή</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-eo-rUY/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">GIF</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Sendi</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-eo/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">GIF</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Sendi</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-es-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Enviar</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Enviar</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-fa-rIR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">گیف</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">ارسال</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-fa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">گیف</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">ارسال</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-fi-rFI/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Lähetä</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-fi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Lähetä</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-fr-rFR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Envoyer</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Envoyer</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-gl-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Enviar</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-gl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Enviar</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-hi-rIN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">जीआईएफ</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">भेजें</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-hi/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">जीआईएफ</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">भेजें</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-hu-rHU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Küldés</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-hu/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Küldés</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-hy-rAM/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Գիֆ</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Ուղարկել</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-hy/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Գիֆ</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Ուղարկել</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-in-rID/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- TransferControlView -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Kirim</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-in/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- TransferControlView -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Kirim</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Invia</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Invia</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-iw-rIL/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">GIF</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">שלח</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-iw/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">GIF</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">שלח</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-ja-rJP/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">送信</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">送信</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-kn-rIN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
<!-- TransferControlView -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">ಗಿಫ್</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">ಕಳುಹಿಸಿ</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-kn/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
<!-- TransferControlView -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">ಗಿಫ್</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">ಕಳುಹಿಸಿ</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-lt-rLT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Siųsti</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-lt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Siųsti</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-nb-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Send</string>
Expand Down
1 change: 0 additions & 1 deletion libsession/src/main/res/values-nb/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
<!-- SingleRecipientNotificationBuilder -->
<!-- VideoPlayer -->
<!-- attachment_type_selector -->
<string name="gif">Gif</string>
<!-- contact_selection_group_activity -->
<!-- conversation_activity -->
<string name="send">Send</string>
Expand Down
Loading

0 comments on commit d3fb440

Please sign in to comment.