浏览代码

feat(base/ui): remove force capitalize from button labels

factor2
Calin-Teodor 11 个月前
父节点
当前提交
d7e2be200a

+ 1
- 1
lang/main.json 查看文件

@@ -843,7 +843,7 @@
843 843
             "blockEveryoneMicCamera": "Block everyone's mic and camera",
844 844
             "breakoutRooms": "Breakout rooms",
845 845
             "goLive": "Go live",
846
-            "invite": "Invite Someone",
846
+            "invite": "Invite someone",
847 847
             "lowerAllHands": "Lower all hands",
848 848
             "lowerHand": "Lower the hand",
849 849
             "moreModerationActions": "More moderation options",

+ 1
- 2
react/features/base/ui/components/native/buttonStyles.ts 查看文件

@@ -10,8 +10,7 @@ const button = {
10 10
 };
11 11
 
12 12
 const buttonLabel = {
13
-    ...BaseTheme.typography.bodyShortBold,
14
-    textTransform: 'capitalize'
13
+    ...BaseTheme.typography.bodyShortBold
15 14
 };
16 15
 
17 16
 export default {

+ 2
- 4
react/features/polls/components/native/styles.ts 查看文件

@@ -164,13 +164,11 @@ export const pollsStyles = createStyleSheet({
164 164
     },
165 165
 
166 166
     pollSendLabel: {
167
-        color: BaseTheme.palette.text01,
168
-        textTransform: 'capitalize'
167
+        color: BaseTheme.palette.text01
169 168
     },
170 169
 
171 170
     pollSendDisabledLabel: {
172
-        color: BaseTheme.palette.text03,
173
-        textTransform: 'capitalize'
171
+        color: BaseTheme.palette.text03
174 172
     },
175 173
 
176 174
     buttonRow: {

正在加载...
取消
保存