Skip to content

Commit 9e1a5da

Browse files
style: replace the word pictures by photos in the camera and camera reel UI (#6133)
1 parent 40ae05e commit 9e1a5da

File tree

5 files changed

+15
-27
lines changed

5 files changed

+15
-27
lines changed

unity-renderer/Assets/DCLFeatures/CameraReel/Gallery/Prefabs/Header.prefab

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ RectTransform:
3131
m_ConstrainProportionsScale: 0
3232
m_Children: []
3333
m_Father: {fileID: 3514973599430430845}
34-
m_RootOrder: 0
3534
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
3635
m_AnchorMin: {x: 0, y: 0.5}
3736
m_AnchorMax: {x: 0, y: 0.5}
3837
m_AnchoredPosition: {x: 32, y: 0}
39-
m_SizeDelta: {x: 638, y: 38}
38+
m_SizeDelta: {x: 655.8523, y: 38}
4039
m_Pivot: {x: 0, y: 0.5}
4140
--- !u!222 &4021179522505976114
4241
CanvasRenderer:
@@ -66,8 +65,8 @@ MonoBehaviour:
6665
m_OnCullStateChanged:
6766
m_PersistentCalls:
6867
m_Calls: []
69-
m_text: You can't take more pictures because you have reached the storage limit
70-
of the camera reel. To make room we recommend you to download your photos and
68+
m_text: You can't take more photos because you have reached the storage limit of
69+
the camera reel. To make room we recommend you to download all your photos and
7170
then delete them.
7271
m_isRightToLeft: 0
7372
m_fontAsset: {fileID: 11400000, guid: a02669827dd9144f39b4b164e753a21a, type: 2}
@@ -169,7 +168,6 @@ RectTransform:
169168
m_ConstrainProportionsScale: 0
170169
m_Children: []
171170
m_Father: {fileID: 7808565566380676151}
172-
m_RootOrder: 1
173171
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
174172
m_AnchorMin: {x: 0, y: 0.5}
175173
m_AnchorMax: {x: 0, y: 0.5}
@@ -204,7 +202,7 @@ MonoBehaviour:
204202
m_OnCullStateChanged:
205203
m_PersistentCalls:
206204
m_Calls: []
207-
m_text: Storage 57/100 photo taken
205+
m_text: Storage 57/100 photos taken
208206
m_isRightToLeft: 0
209207
m_fontAsset: {fileID: 11400000, guid: a02669827dd9144f39b4b164e753a21a, type: 2}
210208
m_sharedMaterial: {fileID: 2100000, guid: 74b83fa9a54124695b9bdd8bea96fa17, type: 2}
@@ -307,7 +305,6 @@ RectTransform:
307305
- {fileID: 8554240609457613775}
308306
- {fileID: 8755313427840704956}
309307
m_Father: {fileID: 7808565566380676151}
310-
m_RootOrder: 2
311308
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
312309
m_AnchorMin: {x: 0, y: 1}
313310
m_AnchorMax: {x: 0, y: 1}
@@ -396,11 +393,10 @@ RectTransform:
396393
m_ConstrainProportionsScale: 0
397394
m_Children: []
398395
m_Father: {fileID: 3514973599430430845}
399-
m_RootOrder: 1
400396
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
401397
m_AnchorMin: {x: 0, y: 0.5}
402398
m_AnchorMax: {x: 0, y: 0.5}
403-
m_AnchoredPosition: {x: 10.000015, y: -0.000011444092}
399+
m_AnchoredPosition: {x: 10, y: -0.000011444092}
404400
m_SizeDelta: {x: 20, y: 20}
405401
m_Pivot: {x: 0.5, y: 0.5}
406402
--- !u!222 &8420807825748553488
@@ -472,7 +468,6 @@ RectTransform:
472468
m_ConstrainProportionsScale: 0
473469
m_Children: []
474470
m_Father: {fileID: 8755313427840704956}
475-
m_RootOrder: 0
476471
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
477472
m_AnchorMin: {x: 0, y: 0}
478473
m_AnchorMax: {x: 0, y: 0}
@@ -548,7 +543,6 @@ RectTransform:
548543
m_ConstrainProportionsScale: 0
549544
m_Children: []
550545
m_Father: {fileID: 6206378532081649024}
551-
m_RootOrder: 0
552546
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
553547
m_AnchorMin: {x: 0, y: 0}
554548
m_AnchorMax: {x: 1, y: 1}
@@ -624,7 +618,6 @@ RectTransform:
624618
m_ConstrainProportionsScale: 0
625619
m_Children: []
626620
m_Father: {fileID: 8554240609457613775}
627-
m_RootOrder: 0
628621
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
629622
m_AnchorMin: {x: 0, y: 0}
630623
m_AnchorMax: {x: 0, y: 0}
@@ -700,13 +693,12 @@ RectTransform:
700693
- {fileID: 6286612792635787617}
701694
- {fileID: 2721695826281978811}
702695
m_Father: {fileID: 7808565566380676151}
703-
m_RootOrder: 3
704696
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
705697
m_AnchorMin: {x: 0.5, y: 0.5}
706698
m_AnchorMax: {x: 0.5, y: 0.5}
707-
m_AnchoredPosition: {x: -335.55035, y: 0}
699+
m_AnchoredPosition: {x: 0, y: 0}
708700
m_SizeDelta: {x: 671.1007, y: 38}
709-
m_Pivot: {x: 0, y: 0.5}
701+
m_Pivot: {x: 0.5, y: 0.5}
710702
--- !u!1 &7649214072965441821
711703
GameObject:
712704
m_ObjectHideFlags: 0
@@ -738,7 +730,6 @@ RectTransform:
738730
m_ConstrainProportionsScale: 0
739731
m_Children: []
740732
m_Father: {fileID: 7808565566380676151}
741-
m_RootOrder: 0
742733
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
743734
m_AnchorMin: {x: 0, y: 0.5}
744735
m_AnchorMax: {x: 0, y: 0.5}
@@ -879,7 +870,6 @@ RectTransform:
879870
- {fileID: 6206378532081649024}
880871
- {fileID: 3514973599430430845}
881872
m_Father: {fileID: 0}
882-
m_RootOrder: 0
883873
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
884874
m_AnchorMin: {x: 0, y: 1}
885875
m_AnchorMax: {x: 1, y: 1}
@@ -969,7 +959,6 @@ RectTransform:
969959
m_Children:
970960
- {fileID: 1511974572317269754}
971961
m_Father: {fileID: 6206378532081649024}
972-
m_RootOrder: 2
973962
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
974963
m_AnchorMin: {x: 0, y: 0}
975964
m_AnchorMax: {x: 1, y: 1}
@@ -1006,7 +995,6 @@ RectTransform:
1006995
m_Children:
1007996
- {fileID: 6074696067784206898}
1008997
m_Father: {fileID: 6206378532081649024}
1009-
m_RootOrder: 1
1010998
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1011999
m_AnchorMin: {x: 0, y: 0}
10121000
m_AnchorMax: {x: 1, y: 1}

unity-renderer/Assets/DCLFeatures/CameraReel/Gallery/Scripts/CameraReelGalleryStorageView.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using TMPro;
1+
using TMPro;
22
using UnityEngine;
33
using UnityEngine.UI;
44

@@ -12,7 +12,7 @@ public class CameraReelGalleryStorageView : MonoBehaviour, ICameraReelGallerySto
1212

1313
public void UpdateStorageBar(int current, int max)
1414
{
15-
storageText.text = $"Storage: {current}/{max} photo taken";
15+
storageText.text = $"Storage: {current}/{max} photos taken";
1616
storageText.gameObject.SetActive(true);
1717
storageFullMessage.SetActive(current >= max);
1818

unity-renderer/Assets/DCLFeatures/CameraReel/Gallery/Scripts/ThumbnailContextMenuController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ async UniTaskVoid DeleteScreenshotAsync(CameraReelResponse screenshot, Cancellat
7676
}
7777

7878
dataStore.notifications.GenericConfirmation.Set(new GenericConfirmationNotificationData(
79-
"Are you sure you want to delete this picture?",
80-
"This picture will be removed and you will no longer be able to access it.",
79+
"Are you sure you want to delete this photo?",
80+
"This photo will be removed and you will no longer be able to access it.",
8181
"NO",
8282
"YES",
8383
() => { },

unity-renderer/Assets/DCLFeatures/CameraReel/ScreenshotViewer/Scripts/ScreenshotViewerController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Cysharp.Threading.Tasks;
1+
using Cysharp.Threading.Tasks;
22
using DCL;
33
using DCL.Browser;
44
using DCL.Tasks;
@@ -144,8 +144,8 @@ async UniTaskVoid DeleteScreenshotAsync(CameraReelResponse screenshot, Cancellat
144144
}
145145

146146
dataStore.notifications.GenericConfirmation.Set(new GenericConfirmationNotificationData(
147-
"Are you sure you want to delete this picture?",
148-
"This picture will be removed and you will no longer be able to access it.",
147+
"Are you sure you want to delete this photo?",
148+
"This photo will be removed and you will no longer be able to access it.",
149149
"NO",
150150
"YES",
151151
() => {},

unity-renderer/Assets/DCLServices/ScreencaptureCamera/UI/Prefabs/ScreencaptureCameraHUD.prefab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,7 @@ PrefabInstance:
18731873
- target: {fileID: 1448454455420767778, guid: 0282a050c09634ed299130b8e9c2c035,
18741874
type: 3}
18751875
propertyPath: m_text
1876-
value: You can't take more pictures because you have reached the storage limit.
1876+
value: You can't take more photos because you have reached the storage limit.
18771877
objectReference: {fileID: 0}
18781878
- target: {fileID: 1448454455420767778, guid: 0282a050c09634ed299130b8e9c2c035,
18791879
type: 3}

0 commit comments

Comments
 (0)